47
Miscellaneous Functions (M Functions)
Program Stop
Spindle Motor Start/Stop
M00
M03 and M05
End of Program
M02
Optional Stop
M01
Format
M00
Description
After the operations specified within the block have been completed, the spindle motor stops. The state of the spindle motor (rotating or
stopped) does not change.
Format
M01
Description
This is active when “
OPTIONAL STOP
” on the PNC-3200 has been set to “
ON
.” In the same way as for M00, a stop takes place after
the operations specified within the block have been completed. The state of the spindle motor (rotating or stopped) does not change.
Format
M02
Description
This indicates that the main program has ended.
Format
M03
M05
Description
M03 instructs the machine to start the spindle motor, and M05 instructs the machine to stop it.
M03 is the only instruction that is available to start the spindle motor. Cutting instructions such as G01, G02, and G03 do not include
the function for starting the spindle motor, so M03 must be given to start the motor before any cutting instruction is input to the ma-
chine.
If the motor is already turning, M03 is ignored and the motor continues to turn. Similarly, M05 is ignored if the motor is already
stopped, and the motor remains stopped.