Home › M-codes › Heidenhain TNC (ISO) › M101
M101 Replacement tool when life expires
Heidenhain TNC (ISO) M-code · Mill
Changes in a replacement tool automatically when the tool life runs out. Reset with M102.
Format
M101
Addresses
| Address | What it does |
|---|---|
M101 | No addresses |
How it works
Modal. Cancel with M102.
Example program
N30 T1 G17 S4000 *
N40 M101 *
N50 G00 G40 G90 Z+250 *
N40 M101 *
N50 G00 G40 G90 Z+250 *
Example is in inch. Check offsets and clearances first.
Watch out for
- The replacement tool needs RT set in the tool table and matching geometry.
Related codes
M101 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Doosan (Fanuc) | Milling spindle unclamp |
| Mazak (EIA) | Workpiece measurement DIA end |
| Centroid CNC12 Acorn | Wait for PLC bit closed or on |
Every M-code for Heidenhain TNC (ISO) 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 M101 in the app All Heidenhain TNC M-codes