8-Introduction to CNC code - M Words
|M words, commonly called M-codes, are major address codes for miscellaneous functions that perform the instructions that do not involve tool movement.
These include spindle on and off, tool changes, coolant on and off, and other similar related functions. Most M-codes have been standardized, but there are a few that have a unique function for a particular controller.
Similar to the G-codes there are many other special feature and advanced machining M-codes that aren't commonly used, and therefore not discussed in this basic module.
Note: always consult the operator's manual for the M-code definitions for your specific controller.