A typical M97 G code line will look like this:-M97 P10 L12. The P number signifies the line number to go to which is prefixed with an N. E.g. N10. The L number is the amount of repeats you want the subroutine to be repeated. In the line of code above it will be repeated 12 times. What is a Subprogram in Cnc? The answer to that question is the ...