635
« on: January 22, 2008, 11:24:27 PM »
Try this
M6end
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 )
'SafeZ = GetSafeZ()
'if SafeZ > z then StraightTraverse x, y,SafeZ, a, b, c
'StraightFeed x, y, z , a, b, c
Code("G0X" & x & "Y" & y" & "A" & a )
I don't like the Safe Z and you have it set to a bad number... I would take it out of the tool change and if you would please turn it off .
thanks
Brian