Calling any program as a subprogram, 10 .4 separ a te pr ogr am as subpr ogr am – HEIDENHAIN iTNC 530 (340 49x-04) ISO programming User Manual
Page 514

514
10 Programming: Subprograms and Program Section Repeats
1
0
.4 Separ
a
te
Pr
ogr
am as Subpr
ogr
am
Calling any program as a subprogram
To select the functions for program call, press the
PGM CALL key.
Press the PROGRAM soft key.
Enter the complete path name of the program you
want to call and confirm your entry with the END key.
The program you are calling must be stored on the hard
disk of your TNC.
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 conversational dialog program, enter
the file type .H behind the program name.
You can also call a program with Cycle G39.
As a rule, Q parameters are effective globally with a
% (PGM CALL).
So please note that changes to
Q parameters in the called program can also influence the
calling program.
Coordinate transformations that you define in the called
program remain in effect for the calling program too,
unless you reset them. The setting of machine parameter
MP7300 has no influence on this.