Ha, I lied.
M6 end has the following code:
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
If I'm reading this correctly, If Safe Z higher then the current Z then will do a rapid move to Safe Z. Then we will do a feed move to the original position.
If Safe Z is not higher (already above or higher then Safe Z) we will do a rapid move to the original x,y.
This explains what I'm seeing.
I must have looked at an old profile's macros when I saw the empty M6 end. Sorry about that.
Thanks for your help. I'll pass this info to Les.
Ted