Home › M-codes › Heidenhain TNC (ISO) › M127
M127 Reset M126
Heidenhain TNC (ISO) M-code · Mill
Turns off shortest path for rotary axes. Axes move the programmed way.
Format
M127
Addresses
| Address | What it does |
|---|---|
M127 | No addresses |
How it works
Modal.
Example program
N60 C+10 *
N70 M127 *
N80 G00 Z+100 *
N70 M127 *
N80 G00 Z+100 *
Example is in inch. Check offsets and clearances first.
Watch out for
- Also reset at program end.
Related codes
M127 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| DMG Mori MAPPS (Fanuc) | External output |
| Centroid CNC12 Acorn | Write date and time to data file |
| Hurco WinMax (NC) | Shortest rotary path off |
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 M127 in the app All Heidenhain TNC M-codes