click for G CODE
M CODE |
Description |
Use in |
M00 |
Program stop |
Lathe & Milling |
M01 |
Optional code for program stop |
Lathe & Milling |
M02 |
End of program |
Lathe & Milling |
M03 |
Spindle start clockwise |
Lathe & Milling |
M04 |
Spindle start counter clockwise |
Lathe & Milling |
M05 |
Spindle stop . (cancel M03 & M04) |
Lathe & Milling |
M06 |
Automatic tool change (use some case in lathe ) |
Lathe & Milling |
M08 |
Coolant on |
Lathe & Milling |
M09 |
Coolant off |
Lathe & Milling |
M10 |
Pallet clamp on |
Milling |
M11 |
Pallet clamp off |
Milling |
M17 |
Sub program end |
Lathe & Milling |
M19 |
Spindle orientation |
Lathe & Milling |
M30 |
Main program end |
Lathe & Milling |
M97 |
Call sub program (use in some model) |
Lathe & Milling |
M98 |
Call sub program |
Lathe & Milling |
M99 |
Sub program end |
Lathe & Milling |
M-CODE FOR CNC
Reviewed by harshal
on
December 17, 2017
Rating: