CNC Machinist Calculator Ultra

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

G98 Set label

Heidenhain TNC (ISO) G-code · Mill

Sets a label for a subprogram or program section repeat. G98 L0 marks the end of a subprogram. Call with L1,0. Klartext: LBL 1, LBL 0 and CALL LBL 1.

Format

G98 L

Addresses

AddressWhat it does
LLabel number, 0 ends a subprogram

How it works

Non-modal.

Example program

N60 L1,0 *
N70 G00 Z+250 M2 *
N130 G98 L1 *
N140 G79 *
…

The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G79 · M99

G98 on other controls

The same number can mean something different on another control.

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

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

App Store Google Play