Fanuc Power Mate i-D/H Operator Manual

PROGRAMMING
(Common to Power Mate i–D and –H)
11. PROGRAM CONFIGURATION
B–63174EN/03
90
The end of a program is indicated by punching one of the following codes
at the end of the program:
Table 11.2 (d) Code of a program end
Code Meaning usage
M02
For main program
M30
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.
NOTE
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 Optional block skip for optional block skip.)
Program end

Leave a Reply

Your email address will not be published. Required fields are marked *