Darc,
Some Fanuc's will run a "local" sub.
Example would be :
M97 P110 L4 (local sub call)
So the M97 is the local sub call. The Pxxxx is the line number of the start of the sub program. The L4 would loop the sub 4 times.
The "sub" lines go after the M30 and must have a M99 end line. Same as a normal sub.
__________________ (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |