CNC Machinist Calculator Ultra

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

G99 Tool definition in the program

Heidenhain TNC (ISO) G-code · Mill

Defines a tool number with length L and radius R inside the program, used when no tool table entry is used. Klartext: TOOL DEF 1 L R.

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

Format

G99 T L R

Addresses

AddressWhat it does
TTool number
LTool length or delta length
RTool radius

How it works

Non-modal definition. Called later with the tool call block T G17 S.

Example program

N30 G99 T1 L+0 R+4 *
N40 G99 T2 L+0 R+2.4 *
N50 T1 G17 S5000 *

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G17

G99 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucCanned cycle return to R level
Haas NGCCanned cycle R plane return
Mazak (EIA)Canned cycle return to R plane
Mitsubishi M70 M80Canned cycle return to R plane
Brother SpeedioCanned cycle return to R plane
Fagor 8055 8065Return to reference plane
LinuxCNC TormachCycle retract to R plane
Mach3 Mach4Cycle return to R plane
Centroid CNC12 AcornCanned cycle return to R plane
Hurco WinMax (NC)Cycle return to R plane
FadalFixed cycle return to R0 plane
Swiss (Citizen Star)Feed per revolution

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

App Store Google Play