beautypg.com

1 labeling subprograms and program section repeats, Labels, See "labeling subprograms – HEIDENHAIN iTNC 530 (34049x-08) ISO programming User Manual

Page 258

background image

258

Programming: Subprograms and program section repeats

8.1 Labeling subpr

ogr

a

ms and pr

ogr

a

m section r

e

peats

8.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 (G98 L).
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 the LABEL SET key or by entering G98. The

number of label names you can enter is only limited by the internal

memory.

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 name or number is set more than once, the TNC

sends an error message at the end of the G98 block. With

very long programs, you can limit the number of blocks to

be checked for repeated labels with MP7229.