4 program as subprogram – HEIDENHAIN TNC 426B (280 472) ISO programming User Manual

Page 260

Advertising
background image

9 Programming: Subprograms and Program Section Repeats

244

9.4 Program as Subprogram

9.4 Program as Subprogram

1 The TNC executes the part program up to the block in which

another program is called with %.

2 Then the other program is run from beginning to end.

3 The TNC then resumes the first (calling) part program with the

block behind the program call.

Programming notes

No labels are needed to call any program as a subprogram.

The called program must not contain the miscellaneous functions
M2 or M30.

The called program may not contain a call with % into the calling
program.

Calling any program as a subprogram

ú

To call the program, press the % key and enter the
name of the program you wish to call

Function

Soft key

Calling a program in conversational dialog format

Calling a program in ISO format

Call externally saved program (only TNC 410)

Convert %EXT block to % INT (calling internally
stored program (only TNC 410)

Call program type defined by the MOD function
„Program input“ (only TNC 410)

% A G71 *

% B

N99999 % A G71 *

% B G71 *

N99999 % B G71 *

You can also call a program with Cycle
G39.

If you want to call a conversational dialog
program,
enter the file type .H behind the program
name.

For the TNC 426, TNC 430:

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:\VZW35\ROUGH\PGM1.I

Lkap9.pm6

29.06.2006, 08:07

244

Advertising