Home › M-codes › Haas NGC › M16
M16 Tool change, same as M06
Haas NGC M-code · Mill
Changes to the tool called with T. Works the same as M06.
Format
T M16
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)
G90 (ABSOLUTE)
T4 M16 (LOAD TOOL 4)
G43 H04 Z1. (LENGTH COMP)
G90 (ABSOLUTE)
T4 M16 (LOAD TOOL 4)
G43 H04 Z1. (LENGTH COMP)
Example is in inch. Check offsets and clearances first.
Watch out for
- Most programs use M06. M16 is there for compatibility.
Related codes
M16 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Doosan (Fanuc) | Bed shoer coolant off |
| Mazak (EIA) | Spindle orientation 0° (for AJC) |
| Okuma OSP | C-axis positioning in negative direction |
| Hurco WinMax (NC) | Automatic buffering on |
| Swiss (Citizen Star) | Back spindle chuck open (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 M16 in the app All Haas NGC M-codes