Alright, looking at the sub routine, I see where you set some parameters. #1 is my depth of cut and #2 is .085, so would that make safe Z .70. Can I use .115 in place of .085 to get to safe Z .1?
The M98 calls sub o1 with the P switch, and the L switch loops it 80 times. But the M30 command rewinds and resets everything. I presume that some how or others Mach remembers the L count and M30 doesn't reset that count. Wouldn't Z, however, return to the original home coordinates with the G54 call?
I see at the end of the sub #1 is doubled with the #3 parameter, which would be perfect if there was a command resetting Z = #3. This is what I am missing. When you end the sub and return, and call G54 you have reset Z = 0 again, and wouldn't # 1 revert from #1 + #3? Could a G92 Z = #3 capable of working here?
I am a noob at this, so if my questions seem obtuse, forgive me.
Thx
Dan