Home › M-codes › Haas NGC › M06
M06 Tool change
Haas NGC M-code · Mill
Changes to the tool called with T. The spindle and coolant stop for the change.
Format
T M06
Addresses
| Address | What it does |
|---|---|
T | Tool number to load |
How it works
Not modal. Acts once on the line where it is commanded.
Example program
G91 G28 Z0. (Z HOME BEFORE THE CHANGE)
G90 (ABSOLUTE)
T3 M06 (LOAD TOOL 3)
G54 G00 X1. Y1. S2000 M03 (POSITION AND SPINDLE ON)
…
G90 (ABSOLUTE)
T3 M06 (LOAD TOOL 3)
G54 G00 X1. Y1. S2000 M03 (POSITION AND SPINDLE ON)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Restart the spindle and call G43 with the new H after every tool change.
- Settings 42 and 87 affect how M06 and offsets behave. Know your settings.
Related codes
M06 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | 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 Haas NGC 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 Haas NGC M-codes