beautypg.com

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

Page 282

background image

Programming: Subprograms and program section repeats

8.2

Subprograms

8

282

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 1/2015

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 TNC will then jump to the label name that
is specified in the defined string parameter

Ignore repeats

REP by pressing the NO ENT key.

Repeat

REP is used only for program section

repeats

CALL LBL 0 is not permitted as it is only used to call
the end of a subprogram.