beautypg.com

Calling a subprogram – HEIDENHAIN TNC 640 (34059x-04) User Manual

Page 270

background image

Programming: Subprograms and program section repeats

8.2

Subprograms

8

270

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 3/2014

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).