CNC Machinist Calculator Ultra

Home › M-codes › Mach3 Mach4

Mach3 Mach4 M-code list

22 M-codes. Pick a code for the format, the addresses, an example program and what to watch out for.

CodeMeaningMachine
M0Program stopMill
M1Optional stopMill
M2Program endMill
M3Spindle on clockwiseMill
M4Spindle on counterclockwiseMill
M5Spindle stopMill
M6Tool changeMill
M7Mist coolant onMill
M8Flood coolant onMill
M9Coolant offMill
M19Spindle orientMill
M30Program end and rewindMill
M47Repeat from first line, Mach3Mill
M48Overrides onMill
M49Overrides offMill
M62Output on with motion, Mach4Mill
M63Output off with motion, Mach4Mill
M64Output on now, Mach4Mill
M65Output off now, Mach4Mill
M98Subprogram callMill
M99Subprogram returnMill
M100User macro M codesMill

Take the list to the machine. The app searches every code by number or shop word and decodes a whole program line by line.

Open the M-code list Mach3 Mach4 G-codes

App Store Google Play