Program call (cycle g39), 1 1 sp ecial cy cles – HEIDENHAIN iTNC 530 (340 420) ISO programming User Manual
Page 367

HEIDENHAIN iTNC 530
367
8.1
1
Sp
ecial Cy
cles
PROGRAM CALL (Cycle G39)
Routines that you have programmed (such as special drilling cycles or
geometrical modules) can be written as main programs and then
called like fixed cycles.
U
U
U
U
Program name:
Enter the name of the program you
want to call and, if necessary, the directory it is
located in.
Call the program with
n
G79
(separate block) or
n
M99
(blockwise) or
n
M89
(executed after every positioning block)
Example: Program call
A callable program 50 is to be called into a program via a cycle call.
Example: NC blocks
N550 G39 P01 50 *
N560 G00 X+20 Y+50 M9 9*
% LOT31 G71
N70 G39 P01 50 *
.
.
.
N90 ... M99
N99999 LOT31 G71
Before programming, note the following:
If you want to define an ISO program to be a cycle, enter
the file type .I behind the program name.
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 to 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.I.