Introduction to CNC Code - 8: M Words
VMS Forum | Library | Start Page | Previous Page| Next Page
WARNING: Machine tools present a safety hazard. Improper operation can result in severe injury. These topics are for non-laboratory study only and are not to be used in conjunction with the operation of any tool or machine described herein. Never use a machine tool without the supervision of a qualified instructor.
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.
Many of the more common M-codes are described below:

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.

VMS Forum | Library | Start Page | Previous Page| Next Page

label:CNC, character,word, block, program, address word, g codes, m codes