1 labeling subprograms and program section repeats, Labels – HEIDENHAIN TNC 128 (77184x-01) User Manual
Page 166

166
Programming: Subprograms and program section repeats
7.
1 Labeling subpr
ogr
a
ms and pr
ogr
a
m section r
e
peats
7.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 necessary.
Labels
The beginnings of subprograms and program section repeats are
marked in a part program by labels LBL.
A LABEL is identified by a number between 1 and 999 or by a name
you define. Each LABEL number or LABEL name can be set only once
in the program with LABEL SET. The number of label names you can
enter is only limited by the internal memory.
Label 0 (LBL 0) is used exclusively to mark the end of a subprogram
and can therefore be used as often as desired.
Do not use a label number or label name more than once!