CNC Syntax Editor. M code. Standart M codes for various numerical controls (CNC) M00 Program Stop M01 Optional (Planned) Stop M02 End of program M03 Spindle CW M04 Spindle CCW M05 Spindle OFF M06 Tool change M07 Coolant #2 ON M08 Coolant #1 ON M09 Coolant OFF M10 Clamp M11 Unclamp M12 Unassigned M13 Spindle CW & Coolant ON M14 Spindle CCW & Coolant ON M15 Motion + M16 Motion - M17 Unassigned M18 Unassigned M19 Oriented spindle stop M20-M29 Permanently unassigned M30 End of tape M31 Interlock bypass M32-M35 Unassigned M36-M39 Permanently unassigned M40-M45 Gear changes if used, otherwise unassigned M46-M47 Unassigned M48 Cancel M49 M49 Bypass override M50-M89 Unassigned M90-M99 Reserved for user