CNC Machinist Calculator Ultra

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

AddressWhat it does
M127No addresses

How it works

Modal.

Example program

N60 C+10 *
N70 M127 *
N80 G00 Z+100 *

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M126

M127 on other controls

The same number can mean something different on another control.

ControlMeaning
DMG Mori MAPPS (Fanuc)External output
Centroid CNC12 AcornWrite 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

App Store Google Play