Hi everyone. I am new to MACH 3 and I’m having a problem converting an old program.
Mach seems to be misinterpreting a relative Z move in an arc command.
I wrote a sub-program to helix into my work piece, do a couple of clean up articulations, then extract.
Here is the code of my sub-program.
O21
N1 Y.0581 F20.
N2 G2 G17 J-.0581 Z-.2 F6. L11
N3 G1Y.015 F20.
N4 G2 G17 J-.0731 F20.
N5 G1 Y.005 F20.
N6 G2 G17 J-.0781 F20.
N7 G0 Y-.0781
N8 G0 Z2.2 M99
In 2 commercial machines, the N2 line using G91 (relative) is interpreted as each articulation goes -.2 deeper into the work piece, thereby going 2.2 inches deep in the 11 iterations.
N8 then retracts the tool from the work piece and X, Y and Z are back where the sub-program started.
Under Mach, the Z move is treated as relative on the first iteration, but never goes any further into the work piece. Z started at +0.1 and after the first iteration is at -0.1, so it appears to interpret the first iteration as relative. However, the next 10 iterations are all at a Z of -0.1.
Am I doing something wrong or is Mach misinterpreting this line?
Thanks in advance!