Hello Guest it is April 19, 2024, 10:21:36 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - davy182

Pages: 1 2 3 4 5 6 7 8 9 10 »
1
G-Code, CAD, and CAM discussions / Re: X axis G28 point is moving .75
« on: October 16, 2014, 07:59:10 AM »
Here is a current file. Will try the 75% today.

2
G-Code, CAD, and CAM discussions / X axis G28 point is moving .75
« on: October 15, 2014, 05:41:54 PM »
Our machine has started to offset .75 the x axis every time a program finishes. Parts are to size and nothing weird going on during program. It seems to move just the x over to the right by .75 inches everytime a program finishes. Is there a macro or gcode that could have been activated unknowingly that could be causing just the x to move .75 every time to the right after a program completes?

Here is what we have tested and know to be true:

There are no changes from post processor output of same file from last month and today.
Ref All home and G28 as many times as you want and it will be exactly in the same spot.
Move all axis around machine then g28 and it will be in the exact same spot
Calibration for steps per inch have been redone and checked. It will move exactly how much you tell it to in the calibration set up.
If you run a program and run the same program again it will be offset .75 every program run that is processed. Only way to reset is to                        ref all home g28 then zero axis out.
Parts are to size and no oblong circles.
Y axis is not included in the offset movement.
New drives and encoders were installed without a difference.
Different gearhead was installed with the same outcome.
Rack and pinion have no issues.

3
Feature Requests / Re: Interrupt Button Please
« on: February 23, 2014, 08:23:32 PM »
you could probably through a screen editor change the function of the feed hold button or create a button with the macro that you would like it to perform.

5
Here is a current problem. Upon start up and setup procedures are done. Calling for a toolchange M6T2, and the machine doesn't move. Load a gcode file and reset the tools info for the changer and poof it now works for the rest of the day. Also hit a limit switch and back to square one it won't change unless a gcode file is opened.

I have reloaded mach3
I have debugg/viruses the computer
I have done a disk clean.

I have a usb smooth stepper
G320x drivers
and Keling servos with encoders

Is there a setting that I may have inadvertently checked or please help me with a fix.

6
fixed it with an g49 and g43 at the end of the code

7
anyone

8
General Mach Discussion / Tool offset not working after tool change
« on: May 08, 2012, 10:35:06 AM »
Once a tool change is called the machine correctly tool changes and registers which tool is in position. It even shows the offset of the tool in the tool information BOX, but doesn't reflect it in the dro until i turn the tool offset off then on or save the tool table.

Attached is the tool change program. Do I need to put in a tool height offset off then back on after tool is changed. It used to work properly but now it doesn't. Couldn't tell you what has changed as No setting changes have been altered or new programs installed prior to the error.

I have in the top right of my program run screen these active gcodes G0, G17,G40,G20,G94,G54,G43,G99, G64,G97
My G54 offset is already adjusted to proper settings and has not been altered.

If you do recommend putting in a tool offset off and then on please show an adjusted macro with changes in red.

'ToolChange Macro For Bed type tool changer 11/05 Brian
Sub Main()
OldTool = GetOEMDRO (1200) 'Tool In spindle DRO You must add this to your settings screen
x = GetToolChangeStart( 0 )
y = GetToolChangeStart( 1 )
z = GetToolChangeStart( 2 )
a = GetToolChangeStart( 3 )
b = GetToolChangeStart( 4 )
c = GetToolChangeStart( 5 )
tool = GetSelectedTool()
NewTool = tool
'Tool Changer Macro (Bed Type)
MaxToolNum = 6      'Max number off tools for the changer
ToolDown   = -6.0895 'Z Pos to Get or drop a tool
ToolUp     = 0.0    'Z Hieght to Rapid from tool to tool
If NewTool = OldTool Then
   Exit Sub
End If
While NewTool > MaxToolNum
NewTool = Question ("Enter New Tool Number up to " & MaxToolNum)
Wend
Code "G00 G53 Z" & ToolUp
While IsMoving()
Wend
Code "G00 G53 X0"
While IsMoving()
Wend
Code "G00 G53 Y9.25"
While IsMoving()
Wend
Call MovePos(OldTool)
While IsMoving()
Wend
Code "G53 Z" & ToolDown
Code "G4 P.75"
While IsMoving()
Wend
ActivateSignal(Output5) 'Turn On Draw bar to release the tool
Code "G4 P1.0"    'Wait for the tool to release
'SystemWaitFor (7) 'Wait for the tool Release Limit switch
Code "G53 Z" & ToolUp
While IsMoving()
Wend
Code "G53 Y9"
While IsMoving
Wend
Call MovePos(NewTool)
While IsMoving()
Wend
Code "G53 Z" & ToolDown
Code "G4 P.75"
While IsMoving()
Wend
DeActivateSignal(Output5) 'Turn Off Draw bar to Clamp the tool
Code "G4 P1.0"    'Wait for the tool to Clamp
While IsMoving()
Wend
Code "G53 Z" & ToolUp
Call SetUserDRO (1200,NewTool)
SetCurrentTool( NewTool )
Code "G53 Y9.25"
While IsMoving()
Wend
Code "G00 X" & x & " Y" & y 'Move back to where the tool change was prompted
End Sub

Sub MovePos(ByVal ToolNumber As Integer)

Select Case ToolNumber
       Case Is = 1
         Xpos = 9.9468       
         YPos = 4.0814         
       Case Is = 2
         Xpos = 14.4954
         YPos = 4.1001
       Case Is = 3
         Xpos = 18.9783
         YPos = 4.0795
       Case Is = 4
         Xpos = 23.4547
         YPos = 4.1055
       Case Is = 5
         Xpos = 27.9440
         YPos = 4.1055
       Case Is = 6
         Xpos = 32.4681
         YPos = 4.1084
       Case Is = 7
         Xpos = 16.00
         YPos = 4.00
       Case Is = 8
         Xpos = 18.00
         YPos = 4.00
End Select
       
       Code "G53 X" & XPos
       While IsMoving()
       Wend

       Code "G53 Y" & YPos
       While IsMoving()
       Wend

Code "G53 X" & XPos & " Y" & YPos
End Sub
Main           


9
General Mach Discussion / Re: Auto tool measuring and offsets
« on: April 11, 2012, 11:05:19 PM »
Thanks I will have to give that a try.

10
General Mach Discussion / Re: Auto tool measuring and offsets
« on: April 11, 2012, 05:15:06 PM »
I don't know that much about vbscripting. I went with an all ready written tool offset macro and tweaked it with help from Gerry. It is automatically inputting the offsets in the tool table so I am happy. Here is the actual finished macro that is running on the machine with no hiccups, but feel free to optimize. I all ready plowed the tool setter off trying to make my own auto tool zero macro. I got it working but Darn could have done without the mishap.

Pages: 1 2 3 4 5 6 7 8 9 10 »