Calling any program as a subprogram, 4 separ a te pr ogr am as subpr ogr am – HEIDENHAIN TNC 620 (340 56x-02) ISO programming User Manual
Page 186

186
Programming: Subprograms and Program Section Repeats
7.
4 Separ
a
te
Pr
ogr
am as Subpr
ogr
am
Calling any program as a subprogram
U
To select the functions for program call, press the
PGM CALL key
U
Press the PROGRAM soft key for the TNC to start the
dialog for defining the program to be called. Use the
screen keyboard to enter the path name (GOTO key),
or
U
press the PROGRAM soft key for the TNC to display a
selection window in which you can select the
program to be called. Confirm with the END key.
You need only enter the program name if the program you
want to call is located in the same directory as the program
you are calling it from.
If the called program is not located in the same directory
as the program you are calling it from, you must enter the
complete path, e.g. TNC:\ZW35\SCHRUPP\PGM1.H
If you want to call a DIN/ISO program, enter the file type .I
after the program name.
You can also call a program with G39.
As a rule, Q parameters are effective globally with a %. So
please note that changes to Q parameters in the called
program can also influence the calling program.