Home › M-codes › Centroid CNC12 Acorn
Centroid CNC12 Acorn M-code list
65 M-codes. Pick a code for the format, the addresses, an example program and what to watch out for.
Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.
| Code | Meaning | Machine |
|---|---|---|
| M0 | Program stop | Mill and lathe |
| M1 | Optional stop | Mill and lathe |
| M2 | Restart program | Mill and lathe |
| M3 | Spindle on clockwise | Mill and lathe |
| M4 | Spindle on counterclockwise | Mill and lathe |
| M5 | Spindle stop | Mill and lathe |
| M6 | Tool change | Mill |
| M7 | Mist coolant on | Mill and lathe |
| M8 | Flood coolant on | Mill and lathe |
| M9 | Coolant off | Mill and lathe |
| M10 | Clamp or chuck on | Mill and lathe |
| M11 | Clamp or chuck off | Mill and lathe |
| M17 | Prepare for tool change, macro | Mill and lathe |
| M19 | Spindle orient, macro | Mill and lathe |
| M25 | Move Z to home | Mill |
| M26 | Set axis home here | Mill and lathe |
| M29 | Set tap direction for G84 | Lathe |
| M30 | End of program, custom / End and restart program | Mill, Lathe |
| M39 | Air drill cycle | Mill |
| M41 | Select low gear range, macro | Mill and lathe |
| M42 | Select medium low gear range, macro | Mill and lathe |
| M43 | Select high gear range, macro | Mill and lathe |
| M50 | C axis off | Lathe |
| M51 | C axis on | Lathe |
| M60 | 5-axis digitizing move | Mill |
| M91 | Move to minus home switch | Mill and lathe |
| M92 | Move to plus home switch | Mill and lathe |
| M93 | Release or restore motor power | Mill and lathe |
| M94 | Turn PLC request bit on | Mill and lathe |
| M95 | Turn PLC request bit off | Mill and lathe |
| M98 | Call subprogram | Mill and lathe |
| M99 | Return from subprogram or macro | Mill and lathe |
| M100 | Wait for PLC bit open or off | Mill and lathe |
| M101 | Wait for PLC bit closed or on | Mill and lathe |
| M102 | Restart program, no stop | Mill and lathe |
| M103 | Start action timer | Mill and lathe |
| M104 | Cancel action timer | Mill and lathe |
| M105 | Move minus until switch | Mill and lathe |
| M106 | Move plus until switch | Mill and lathe |
| M107 | Send tool number to tool changer | Mill and lathe |
| M108 | Enable override knobs | Mill and lathe |
| M109 | Disable override knobs | Mill and lathe |
| M115 | Protected probe move minus | Mill and lathe |
| M116 | Protected probe move plus | Mill and lathe |
| M120 | Open data file, overwrite | Mill and lathe |
| M121 | Open data file, append | Mill and lathe |
| M122 | Write local position to data file | Mill and lathe |
| M123 | Write value to data file | Mill and lathe |
| M124 | Write machine position to data file | Mill and lathe |
| M125 | Protected probe move minus, no contact expected | Mill and lathe |
| M126 | Protected probe move plus, no contact expected | Mill and lathe |
| M127 | Write date and time to data file | Mill and lathe |
| M128 | Move axis by encoder counts | Mill and lathe |
| M129 | Write job file path to data file | Mill and lathe |
| M130 | Run a system command | Mill and lathe |
| M150 | Zero spindle encoder at next index | Mill and lathe |
| M151 | Unwind C axis | Lathe |
| M200 | Stop and show a message | Mill and lathe |
| M201 | Stop and show a message, PLC bits off | Mill and lathe |
| M223 | Write formatted text to data file | Mill and lathe |
| M224 | Ask the operator for a value | Mill and lathe |
| M225 | Show a message for a set time | Mill and lathe |
| M290 | Digitize a profile | Mill and lathe |
| M300 | Fast PLC value update | Mill and lathe |
| M1000 | Graph color for feed moves | Mill and lathe |
Take the list to the machine. The app searches every code by number or shop word and decodes a whole program line by line.
Open the M-code list Centroid CNC12 Acorn G-codes