2. M Code Description:
2 M Code Description:
Ancillary function is used to control machine function ON or OFF. The
description is as below:
M function table
M Code Function
M00
Program dwell
M01
Selectivity program dwell
M02
End program
M03
Spindle rotate(CW)
M04
Spindle rotate(CCW)
M05
Spindle stop
M06
Tool exchange
M08
Coolant liquid ON
M09
Coolant liquid OFF
M19
Spindle positioning, let spindle stop at a specified position
M30
Program end, return to starting point
M98
Call the sub-program
M99
From sub-program return to main program
1. M00: Program dwell
When CNC executes M00 command, the spindle will stop to rotate,
feed will dwell, cutting oil will stop, it is convenient to size check and
compensate for operatorWe can specify the program is dwell or not by
“M00 cancel switch” on the interface.
2. M01: Selective program dwell
M01 is similar to M00but M01 is controlled by "selective stop"when
the switch is ON, M01 is effective, program dwellWhen the switch is OFF,
then M01 is not effective.
142
    "