Hey Nanker,
I've successfully used the "loop" counter:
M98 P666 L10
(stuff to exit the process)
M02
o666 (stuff to make a part)
M99
Yes, that is a letter 'o' in the second last line - the case doesn't matter - the parameter after letter "L" is the parts count.
Loopy regards,
Terrence |