2
« on: April 24, 2018, 09:27:10 AM »
TPS thanks for the reply. I checked the M6End.m1s. Here it is below. I noticed that it sends it to 1.5814 also. But according to the code all it does is return it to where it left off. I would rather that not happen as after a tool change is normally goes to another location anyway.
I was also told that all my gcode should be negative numbers and it was wrong. But I touch off g54 at the same spot on my soft jaw for all my OPs for production. Which is actually about an inch below the work space. Should this matter?
Is there a way to rewrite the M6start.m1s to make the behavior different?
M6END.m1s
REM The default script here moves the tool back to m6start if any movement has occured during the tool change..
x = GetToolChangeStart( 0 )
y = GetToolChangeStart( 1 )
z = GetToolChangeStart( 2 )
a = GetToolChangeStart( 3 )
b = GetToolChangeStart( 4 )
c = GetToolChangeStart( 5 )
if(IsSafeZ() = 1) Then
SafeZ = GetSafeZ()
if SafeZ > z then StraightTraverse x, y,SafeZ, a, b, c
StraightFeed x, y, z , a, b, c
else
Code"G00 X" & x & "Y" & y
end if
Thanks again.