HEIDENHAIN TNC 640 User Manual page 359

Hide thumbs Also See for TNC 640:
Table of Contents

Advertisement

Subprograms and Program Section Repeats | Any desired NC program as subprogram
Calling a program with SELECT PROGRAM and CALL
SELECTED PROGRAM
Use the function %:PGM to select any program as a subprogram
and call it at another position in the program. The control runs
the called program from the position where it was called in the
program with %<>%.
The %:PGM: function is also permitted with string parameters, so
that you can dynamically control program calls.
To select the program, proceed as follows:
To select the functions for program call, press
the PGM CALL key
Press the SELECT PROGRAM soft key
The control starts the dialog for defining the
program to be called.
Press the SELECT FILE soft key
The control shows a selection window that
allows you to select the program to be called.
Press the ENT key
To call the selected program, proceed as follows:
To select the functions for program call, press
the PGM CALL key
Press the CALL SELECTED PROGRAM soft key
With %<>%, the control calls the last program
selected.
If an NC program that was called using %<>% is missing,
then the control interrupts the execution or simulation
with an error message. In order to avoid undesired
interruptions during program run, all paths to the
program beginning can be checked using the D18
function (ID10 NR110 and NR111)
Further information:
page 395
HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017
"D18 – Reading system data",
9
359

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 640 5e

Table of Contents