CNC Machinist Calculator Ultra

Home › G-codes › Heidenhain TNC (ISO) › G51

G51 Tool preselection

Heidenhain TNC (ISO) G-code · Mill

Preselects the next tool so the changer can get it ready. Used with the central tool file. Klartext: TOOL DEF number.

Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.

Format

G51 T

Addresses

AddressWhat it does
TNext tool number

How it works

Non-modal.

Example program

N30 T1 G17 S4000 *
N40 G51 T2 *
N50 G00 G40 G90 Z+250 *

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G99

G51 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucScaling
Haas NGCScaling
Mazak (EIA)Scaling on
Okuma OSPScaling on
Mitsubishi M70 M80Scaling on
Brother SpeedioScaling on
Mach3 Mach4Scaling and mirror
Centroid CNC12 AcornScaling and mirroring on
Hurco WinMax (NC)Scaling
FadalRamp slope control

Every G-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 G51 in the app All Heidenhain TNC G-codes

App Store Google Play