Home › M-codes › Heidenhain TNC (ISO) › M89
M89 Modal cycle call
Heidenhain TNC (ISO) M-code · Mill
Calls the last defined cycle after every positioning block until canceled. The function depends on machine parameters and may be a free M code instead.
Format
M89
Addresses
| Address | What it does |
|---|---|
M89 | No addresses |
How it works
Modal. Cancel with M99 or a new cycle definition, depending on machine setup.
Example program
N50 G200 DRILLING
Q201=-10 ;DEPTH
N60 G00 X+10 Y+10 M89 *
N70 X+30 *
…
Q201=-10 ;DEPTH
N60 G00 X+10 Y+10 M89 *
N70 X+30 *
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Check how your machine builder set M89 before using it.
Related codes
M89 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Haas NGC | Through spindle coolant off |
| Doosan (Fanuc) | C1-axis high pressure clamp |
| DMG Mori MAPPS (Fanuc) | Through-spindle coolant OFF |
| Mazak (EIA) | Steady rest 2 clamp |
| Swiss (Citizen Star) | Interference check on (Citizen) |
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 M89 in the app All Heidenhain TNC M-codes