M6 Tool change
Fadal M-code · Mill
Changes to tool T. On a Fadal the change can start from any XY position. T M6 or M6 T can be on the same line.
Format
T M6
Addresses
| Address | What it does |
|---|---|
T | Tool number |
How it works
Non modal.
Example program
N20 G0 Z1. M9
N21 G91 G28 Z0. M5
N22 G90
N23 T2 M6 (1-4 DRILL)
…
N21 G91 G28 Z0. M5
N22 G90
N23 T2 M6 (1-4 DRILL)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- M6 does not apply the length. Use G43 H in Format 2, or H on the Z move in Format 1.
- Format 1 resets the control at a tool change. Format 2 does not, so restate all modes after M6.
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 |
| Centroid CNC12 Acorn | Tool change |
| Hurco WinMax (NC) | Tool change |
| Swiss (Citizen Star) | Main chuck close (Citizen) |
Every M-code for Fadal 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 Fadal M-codes