I'm not able to get to my machine to test this, but I've been trying to figure out a way of doing a subroutine, and having the machine stop temporarily afterwards, to give the user the option of either repeating the subroutine or continuing through the main code. So far I've come up with this:-
o0001
g21
g90
g64
g00 a2 f2500
m06 t001
g00 x0 y20
m98 p0002
m00
g01 x10 etc...
o0001
g01 a0.5 z120
g01 a0
g01 a0.2
m99
The idea being that the user can manually select and run from either the line 'm98 p0002' to repeat the routine, or the line 'g01 a0.2' to continue through the code.
Is this a normal way of achieving this? I've used lower case here to distinguish between 'o' and '0'.
Thanks