M06 Tool change
Fanuc M-code · Mill
Changes to the tool named by T on a machining center. Lathes change tools with the T word alone.
Format
T M06
Addresses
| Address | What it does |
|---|---|
T | Tool number to load |
How it works
Non-modal.
Example program
G91 G28 Z0 (Z HOME)
T5 M06 (LOAD TOOL 5)
G90 G54 G00 X0 Y0 (POSITION)
T5 M06 (LOAD TOOL 5)
G90 G54 G00 X0 Y0 (POSITION)
Example is in inch. Check offsets and clearances first.
Watch out for
- The tool change macro is written by the builder. Return position and pre staging vary by machine.
- On a lathe, T0101 indexes the turret. M06 is not used.
Related codes
M06 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| 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 |
| Centroid CNC12 Acorn | Tool change |
| Hurco WinMax (NC) | Tool change |
| Fadal | Tool change |
| Swiss (Citizen Star) | Main chuck close (Citizen) |
Every M-code for Fanuc 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 M06 in the app All Fanuc M-codes