CNC Machinist Calculator Ultra

Home › M-codes › Heidenhain TNC (ISO) › M91

M91 Coordinates in machine datum

Heidenhain TNC (ISO) M-code · Mill

In this block the coordinates refer to the machine datum, not the workpiece datum. Klartext: L Z+0 R0 FMAX M91.

Format

G00 G40 Z M91

Addresses

AddressWhat it does
ZPosition in machine coordinates

How it works

Non-modal. Acts only in its block.

Example program

N150 G00 G40 Z-20 M91 *
N160 X+500 Y+400 M91 *
N170 M30 *

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M92 · M130

M91 on other controls

The same number can mean something different on another control.

ControlMeaning
Haas NGCFixture clamp input off
Doosan (Fanuc)External m-code m91
DMG Mori MAPPS (Fanuc)Tool-spindle or turning spindle simultaneous operation mode OFF
Centroid CNC12 AcornMove to minus home switch
Hurco WinMax (NC)Z retract on power loss, disable
FadalNormal servo gain

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 M91 in the app All Heidenhain TNC M-codes

App Store Google Play