beautypg.com

Calling any program as a subprogram – HEIDENHAIN TNC 320 (77185x-01) User Manual

Page 258

background image

Programming: Subprograms and program section repeats

8.4

Any desired program as subprogram

8

258

TNC 320 | User's Manual

HEIDENHAIN Conversational Programming | 3/2014

Calling any program as a subprogram

To select the functions for program call, press the

PGM CALL key
Press the

PROGRAM soft key: The TNC starts

the dialog for defining the program to be called.

Use the screen keyboard to enter the path name
(

GOTO key), or

press the SELECT PROGRAM 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

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\SCHRUPP\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

12 PGM CALL.

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.

Danger of collision!

Coordinate transformations that you define in

the called program remain in effect for the calling

program too, unless you reset them.