M-Codes

M-Code Description
M00 Program Stop/Spindle Stop/Coolant Off
M01 Optional Program Stop
M02 Program Stop/Spindle Stop/Coolant Off/
Optional Clear Status Display (depending on
machine parameters)/Return to line 1
M03 Spindle On Clockwise
M04 Spindle On Counterclockwise
M05 Spindle Stop
M06 Tool Change/Program Stop (machine-dependent
function)/Spindle Stop
M08 Coolant On
M09 Coolant Off
M13 Spindle On Clockwise /Coolant On
M14 Spindle On Counterclockwise/Coolant On
M30 Same function as M02
M89 Free Additional Function or
Cycle Call, modal (machine-dependent function)
M91 In Positioning Block: Coordinates refer to the
Machine Zero Point
M92 In Positioning Block: Coordinates refer to a
Position defined by the machine manufacturer, e.g.,
the Tool Change Position
M94 Reduce Display of Rotary Axis to a Value below 360°
M97 Process Small Contour Steps
M98 Process Open Contours Completely
M99 Cycle Call per Block
M101 Automatic Tool Change with Sister Tool, when
Tool Life has Expired
M102 Reset M101
M107 Suppress Error Message for Sister Tools with Oversize
M108 Reset M107
M109 Constant Path Speed at the Tool Cutting Edge
(Increase and Decrease Feed Rate)
M110 Constant Path Speed at the Tool Cutting Edge (only
Feed Rate Reduction)
M111 Reset M109/M110
M116 Feed Rate for Rotary Axes in mm/min
M117 Reset M116
M118 Overlay Handwheel Positioning during Program Run
M120 Precalculate Contour with Radius Compensation (LOOK AHEAD)
M126 Optimized Movement of Rotary Axes
M127 Reset M126
M128 Maintain Tool Tip Position when Positioning Swivel Axes
(TCPM)
M129 Reset M128
M130 In Positioning Block: Points Refer to the Unswiveled
Coordinate System
M136 Feed Rate F in Millimeters per Spindle Revolution
M137 Reset M136
M138 Select Swivel Axes
M140 Retract from Contour in Tool Axis Direction
M143 Clear Basic Rotation
M144 Consider Machine Kinematics in Actual/Target Positions at
End of Block
M145 Reset M144
M141 Suppress Touch Probe Monitoring
M148 Automatically Retract Tool from Contour at NC Stop
M149 Reset M148
M150 Suppress Limit Switch Message
M197 Round Corners
M200-204 Laser Cutting Functions