M Codes

All the M codes


M0- Main and Sub Program stop. Force the machine to stop.

M1 Optional Stop

M1- (M&S)Optional stop. Main and Sub If the OPTIONAL STOP button is on (lit) the executing line will stop until...

M2 Program end

M2- (M)Program End M02- Not normally used since it does not rewind to beginning of Program.

M3 Main spindle Clockwise

M3- (M)Main spindle (#1) forward (CW) rotation “M3 S1000” 10000 RPM max. M03- Can only be programmed from Main. To...

M4 Main spindle counter clockwise

M4- (M)Main spindle (#1) reverse (CCW) rotation “M4 S500” 8000 RPM max. M04- Can only be programmed from Main Sample...