1 Basic Information on NC Programming
M Codes
Type
Instruction
Reservation
M00
auxiliary func-
tion output
M01
M02/M30
Spindle Axis
M03
M04
M05
M19
Programming
M98
M99
1 - 4
Name
Program Stop
Stops the execution of the NC program at the block where M00
is commanded.
Optional Stop
As is the case with M00, stops the execution of the NC program
at the block where M01 is commanded.
End of Program
Stops the NC program to enable reset mode.
Spindle CW
Operates the Spindle axis in the positive direction at the speci-
fied speed.
Spindle CCW
Operates the Spindle axis in the negative direction at the speci-
fied speed.
Spindle OFF
Stops the Spindle axis.
Spindle Orienta-
Uses this command to adjust orientation of the spindle axis
tion
when you replace tools and carry out other tasks.
Subprogram Call
Calls a subprogram from the program currently running.
Subprogram End
Terminates the subprogram currently running and returns to the
main program from which the subprogram was invoked.
Outline of function
NJ/NY-series G code Instructions Reference Manual (O031)