bg

M code and G code for machining centers

Since version 2.0 our CNC Syntax Editor software supports syntax highlighting for all G and M codes from the table below. The trial or FREE version of our software you can download in the Download area. We are planning to add tooltips with comments for each G code or M code in the program interface in the next release. You can ask our support team for details about our software and is features.

Standard M & G codes chart for machining centers

CodeDescription
M00Program Stop
M01Optional (Planned) Stop
M02End of program
M03Spindle CW
M04Spindle CCW
M05Spindle OFF
M06Tool change
M07Coolant #2 ON
M08Coolant #1 ON
M09Coolant OFF
M10Clamp
M11Unclamp
M12Unassigned
M13Spindle CW & Coolant ON
M14Spindle CCW & Coolant ON
M15Motion +
M16Motion -
M17Unassigned
M18Unassigned
M19Oriented spindle stop
M20-M29Permanently unassigned
M30End of tape
M31Interlock bypass
M32-M35Unassigned
M36-M39Permanently unassigned
M40-M45Gear changes if used, otherwise unassigned
M46-M47Unassigned
M48Cancel M49
M49Bypass override
M50-M89Unassigned
M90-M99Reserved for user

M codes | G codes | G and M codes for MC | ISO tape codes | EIA tape codes

Product Buy Download Support Contacts site map
Copyright © 1999 - 2025, AGG Software.
All rights reserved. Terms of use | Privacy policy