Calling any program as a subprogram, E been added ("calling any program as a, Any desired program as subprogram 8.4 – HEIDENHAIN TNC 620 (81760x-02) ISO programming User Manual
Page 277

Any desired program as subprogram
8.4
8
TNC 620 | User's ManualDIN/ISO Programming | 2/2015
277
Calling any program as a subprogram
Danger of collision!
Coordinate transformations that you define in
the called program remain in effect for the calling
program too, unless you reset them.
If the program you want to call is located in the same
directory as the program you are calling it from, then
you only need to enter the program name.
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\ROUGH\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 Cycle
G39.
As a rule, Q parameters are effective globally with a
program call with
%. So please note that changes to
Q parameters in the called program also influence
the calling program.
Call a program with PROGRAM CALL
The
% function calls any program as a subprogram. The control runs
the called program from the position where it was called in the
program.
To select the functions for program call, press the
PGM CALL key
Press the
CALL PROGRAM soft key for the TNC
to start the dialog for defining the program to be
called. Enter the path name with the keyboard, or
press the
SELECT FILE 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