Manual

Introduction to Programming
Chapter 10
1
0
-
2
9
Table 10.F
M-codes
M-code
Number
Modal or
Non-modal
Group
Number
Function
M00 NM 4 Program stop
M01 NM 4 Optional program stop
M02 NM 4 Program end
M30 NM 4 Program end andreset (tape rewind)
PRIMARYSPINDLE
M03 M 7 Spindle positiverotation (cw)
M04 M 7 Spindle negativerotation (ccw)
M05 M 7 Spindle stop
M19 M 7 Spindle orient
SPINDLE 2
M03.2 M 11 Spindlepositive rotation (cw)
M04.2 M 11 Spindlenegative rotation (ccw)
M05.2 M 11 Spindlestop
M19.2 M 11 Spindleorient
SPINDLE 3
M03.3 M 12 Spindlepositive rotation (cw)
M04.3 M 12 Spindlenegative rotation (ccw)
M05.3 M 12 Spindlestop
M19.3 M 12 Spindleorient
M07 M 8 Mist coolant on
M08 M 8 Flood coolant on
M09 M 8 Coolant off
M48 M 9 Overrides enabled
M49 M 9 Overrides disabled
M58 M 10 CSS permit
M59 M 10 CSS prohibit
M98 NM 5 Sub-program call
M99 NM 5 Sub-program end andprogram jump
M100-M149
NM
13 Simple synchronization
M150-M199 NM 13 Synchronization withsetup