beautypg.com

Calling any program as a subprogram, 10 .4 separ a te pr ogr am as subpr ogr am – HEIDENHAIN iTNC 530 (340 49x-02) ISO programming User Manual

Page 472

background image

472

10 Programming: Subprograms and Program Section Repeats

1

0

.4 Separ

a

te

Pr

ogr

am as Subpr

ogr

am

Calling any program as a subprogram

8

To select the functions for program call, press the

PGM CALL key.

8

Press the PROGRAM soft key.

8

Enter the complete path name of the program you

want to call and confirm your entry with the END key.

The program you are calling must be stored on the hard
disk of your TNC.

You need only enter the program name if the program you
want to call is located in the same directory as the program
you are calling it from.

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 conversational dialog program, enter
the file type .H behind the program name.

You can also call a program with Cycle G39.

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.