
1 Basic Information on NC Programming
1 - 4
NJ/NY-series G code Instructions Reference Manual (O031)
M Codes
Type
Instruction
Name
Outline of function
Reservation
auxiliary func-
tion output
M00
Program Stop
Stops the execution of the NC program at the block where M00
is commanded.
M01
Optional Stop
As is the case with M00, stops the execution of the NC program
at the block where M01 is commanded.
M02/M30
End of Program
Stops the NC program to enable reset mode.
Spindle Axis
M03
Spindle CW
Operates the Spindle axis in the positive direction at the speci-
fied speed.
M04
Spindle CCW
Operates the Spindle axis in the negative direction at the speci-
fied speed.
M05
Spindle OFF
Stops the Spindle axis.
M19
Spindle Orienta-
tion
Uses this command to adjust orientation of the spindle axis
when you replace tools and carry out other tasks.
Programming
M98
Subprogram Call
Calls a subprogram from the program currently running.
M99
Subprogram End
Terminates the subprogram currently running and returns to the
main program from which the subprogram was invoked.
Summary of Contents for NJ501-5300
Page 13: ...11 CONTENTS NJ NY series G code Instructions Reference Manual O031...
Page 28: ...Revision History 26 NJ NY series G code Instructions Reference Manual O031...
Page 40: ...2 G Code 2 2 NJ NY series G code Instructions Reference Manual O031...
Page 72: ...2 G Code 2 34 NJ NY series G code Instructions Reference Manual O031...
Page 108: ...3 M Code 3 2 NJ NY series G code Instructions Reference Manual O031...
Page 112: ...3 M Code 3 6 NJ NY series G code Instructions Reference Manual O031...
Page 124: ...3 M Code 3 18 NJ NY series G code Instructions Reference Manual O031...
Page 128: ...3 M Code 3 22 NJ NY series G code Instructions Reference Manual O031...
Page 136: ...4 PROGRAM CODES 4 8 NJ NY series G code Instructions Reference Manual O031...
Page 141: ......