Complete List of M Codes in CNC Turning

Below is the complete list of M-Codes used in CNC turning.

M Code Function
M00Program Stop
M01Optional Stop
M02End of Program
M03Spindle On (Clockwise)
M04Spindle On (Counterclockwise)
M05Spindle Stop
M06Tool Change
M08Coolant On
M09Coolant Off
M30Program End and Reset

Back to Home