13. PROGRAM CONFIGURATION
The end of a program is indicated by punching one of the following codes
at the end of the program:
Table 13.2(d) Code of a program end
Code Meaning usage
For main program
M99 For subprogram
If one of the program end codes is executed in program execution, the
CNC terminates the execution of the program, and the reset state is set.
When the subprogram end code is executed, control returns to the
program that called the subprogram.
A block containing an optional block skip code such as /M02
; , /M30 ; , or /M99 ; is not regarded as the end of a program,
if the optional block skip switch on the machine operator’s
panel is set to on.
(See item “D Optional block skip”.)
D Program end