Subprograms and Program Section Repeats | Subprograms
9
348
HEIDENHAIN | TNC 620 | Conversational Programming User's Manual | 10/2017
Programming the subprogram
To mark the beginning: Press the LBL SET key
Enter the subprogram number. If you want to
use a label name, press the LBL NAME soft key
to switch to text entry.
Enter the text
Mark the end: Press the LBL SET key and enter
the label number 0
Calling a subprogram
Call a subprogram: Press the LBL CALL key
Enter the subprogram 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 control then jumps to the label name that is
specified in the string parameter defined.
Ignore repeats REP by pressing 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).