3 program call (cycle 12, din/iso: g39), Cycle function, Please note while programming – HEIDENHAIN TNC 640 (34059x-04) Cycle programming User Manual
Page 284: Program call (cycle 12, din/iso: g39)

Cycles: Special Functions
12.3 PROGRAM CALL (Cycle 12, DIN/ISO: G39)
12
284
TNC 640 | User's Manual Cycle Programming | 3/2014
12.3
PROGRAM CALL (Cycle 12, DIN/ISO:
G39)
Cycle function
Routines that you have programmed (such as special drilling cycles
or geometrical modules) can be written as main programs. These
can then be called like fixed cycles.
Please note while programming:
The program you are calling must be stored in the
internal memory of your TNC.
If the program you are defining to be a cycle is
located in the same directory as the program you
are calling it from, you need only enter the program
name.
If the program you are defining to be a cycle is not
located in the same directory as the program you are
calling it from, you must enter the complete path, for
example
TNC:\KLAR35\FK1\50.H.
If you want to define a DIN/ISO program to be a
cycle, enter the file type .I behind the program name.
As a rule, Q parameters are globally effective when
called with Cycle 12. So please note that changes
to Q parameters in the called program can also
influence the calling program.