TC-32B Chapter12 S,T,M function
2004/01/22 12 - 3 eTCOMNCPR12.doc
12
12.3 M Function
The M codes are used for commanding ON/OFF of various solenoids of the machine.
It is commanded by address M and a following within 3-digit number.
When the M command is in the same block as that of the axis movement, the motion is devided
following three types.
The M command becomes effective before the axis movement starts.
The M command becomes effective at the same time the axis movement starts.
The M command becomes effective after the axis movement is finished.
(Note)
The modal command is effective until it is cancelled by the next M code or changed.
The one-shot command is effective only in the commanded block.
List of M code (1)
Group M code Content
Operation
order v.
axis feed
Modal/
one-shot
M00 Program stop after one-shot
M01 Optional stop after one-shot
M02 End of program
M30 End of program
M03 Spindle CW
M04 Spindle CCW
M05* Spindle stop
M19 Spindle orientation
M111 Spindle orientation (180°)
simultaneous modal
M08 Coolant pump ON simultaneous
M09* Coolant pump OFF after
modal
M06 Tool change simultaneous one-shot
M98 Sub program call
M99 Return from subprogram
The code with * is already set when the power is turned on.