0% found this document useful (0 votes)
265 views1 page

M Codes

The document lists G-code commands for milling and turning operations in CNC machining. It includes commands for program control, spindle operation, coolant management, tool changes, and subroutine handling. Both milling and turning share some common commands while having specific ones for each operation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
265 views1 page

M Codes

The document lists G-code commands for milling and turning operations in CNC machining. It includes commands for program control, spindle operation, coolant management, tool changes, and subroutine handling. Both milling and turning share some common commands while having specific ones for each operation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Milling Turning

M00 Program Stop M00 Program Stop


M01 Optional Program Stop M01 Optional Program Stop
M02 Program End M02 Program End
M03 Spindle On Clockwise M03 Spindle On Clockwise
M04 Spindle On Counterclockwise M04 Spindle On Counterclockwise
M05 Spindle Stop M05 Spindle Stop
M06 Tool Change . .
. . M07 Coolant 1 On
M08 Coolant On M08 Coolant 2 On
M09 Coolant Off M09 Coolant Off
M10 Clamps On . .
M11 Clamps Off . .
M30 End of Program, Reset to Start M30 End of Program, Reset to Start
M98 Call subroutine command M98 Subprogram call
M99 Return from subroutine command M99 Return from subprogram

You might also like