8
Programming: Subprograms and program section repeats
8.2
Subprograms
Calling a subprogram
To call a subprogram, Press the LBL CALL key
Label number: 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 defined string parameter
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).
258
TNC 620 | User's Manual
HEIDENHAIN Conversational Programming | 3/2014