beautypg.com

Calling a subprogram, 2 subpr ogr a ms – HEIDENHAIN iTNC 530 (340 49x-06) User Manual

Page 278

background image

278

Programming: Subprograms and Program Section Repeats

8.2 Subpr

ogr

a

ms

Calling a subprogram

U

To call a subprogram, press the LBL CALL key.

U

Call subprogram /repeat

: Enter the label number of

the subprogram you wish to call. If you want to use a
label name, press the LBL NAME soft key to switch
to text entry If you want to enter the number of a
string parameter as target address: Press the QS soft
key; the TNC will then jump to the label name that is
specified in the string parameter defined.

U

Repeat REP

: Ignore the dialog question with the NO

ENT key. Repeat REP is used only for program
section repeats.

CALL LBL 0

is not permitted (Label 0 is only used to mark

the end of a subprogram).