Home › M-codes › Centroid CNC12 Acorn › M6
M6 Tool change
Centroid CNC12 Acorn M-code · Mill
Moves Z home, stops spindle and coolant, then runs the tool changer or prompts the operator to load the tool and press CYCLE START. Parameter 6 picks manual or ATC.
Format
T M6
Addresses
| Address | What it does |
|---|---|
T | Tool number |
How it works
One shot.
Example program
G20 G17 G40 G49 G80 G90 ; SAFE START
T2 M6 ; LOAD TOOL 2
G54 G0 X0 Y0
S2500 M3 ; SPINDLE BACK ON
…
T2 M6 ; LOAD TOOL 2
G54 G0 X0 Y0
S2500 M3 ; SPINDLE BACK ON
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- M6 always moves Z home first.
- Parameter 6 set to 0 is manual change, 1 is ATC.
- Restart the spindle and coolant after M6. They are turned off.
Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.
Related codes
M6 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Tool change |
| Haas NGC | Tool change |
| Doosan (Fanuc) | Atc tool change command |
| DMG Mori MAPPS (Fanuc) | Tool change |
| Mazak (EIA) | Chuck unclamp (releasing workpiece) |
| Okuma OSP | Tool Change |
| Mitsubishi M70 M80 | Tool change |
| Brother Speedio | Tool change |
| Siemens 840D 828D | Tool change |
| Heidenhain TNC (ISO) | Tool change |
| Fagor 8055 8065 | Tool change |
| LinuxCNC Tormach | Tool change |
| Mach3 Mach4 | Tool change |
| Hurco WinMax (NC) | Tool change |
| Fadal | Tool change |
| Swiss (Citizen Star) | Main chuck close (Citizen) |
Every M-code for Centroid CNC12 Acorn in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open M6 in the app All Centroid CNC12 Acorn M-codes