3 program call (cycle 12, din/iso: g39), Cycle function, Please note while programming – HEIDENHAIN TNC 320 (340 55x-04) Cycle programming User Manual

Page 270

Advertising
background image

270

Cycles: Special Functions

12.3 PR

OGRAM CALL (Cy

c

le

12, DIN/ISO: G39)

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 and then
called like fixed cycles.

Please note while programming:

0 BEGIN PGM

LOT31 MM

7 CYCL DEF 12.0

PGM CALL
8 CYCL DEF 12.1
LOT31
9 ... M99

END PGM

The program you are calling must be stored on the hard
disk 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 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.H

.

If you want to define an 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.

Advertising