1 labeling subprograms and program section repeats, Labels – HEIDENHAIN TNC 410 ISO Programming User Manual
Page 342

316
9 Programming: Subprograms and Program Section Repeats
9.1 Labe
ling
S
u
bp
ro
gr
ams and
Pr
og
ra
m Sectio
n Rep
eats
9.1 Labeling Subprograms and
Program Section Repeats
Subprograms and program section repeats enable you to program a
machining sequence once and then run it as often as desired.
Labels
The beginnings of subprograms and program section repeats are
marked in a part program by G98 labels.
A label is identified by a number between 1 and 254. Each label can be
set only once with G98 in a program.
Label 0 (G98 L0) is used exclusively to mark the end of a subprogram
and can therefore be used as often as desired.
If a label is set more than once, the TNC sends an error
message at the end of the G98 block.
For the TNC 426, TNC 430:
With very long programs, you can limit the number of
blocks to be checked for repeated labels with MP7229.