3 M Code
M02, M30 End of Program
These instructions end the NC program.
Instruction format
Relevant M codes
Indicates the end of the NC program.
The NC program is stopped to enable reset mode.
When a block where M30 is specified is executed, return to the head of the program.
Therefore, the blocks after M30 or M02 are ignored.
M02 and M30 have the same function.
3 - 10
M02
M30
---
NJ/NY-series G code Instructions Reference Manual (O031)