beautypg.com

4 separate program as subprogram, Operating sequence, Programming notes – HEIDENHAIN iTNC 530 (340 422) ISO programming User Manual

Page 405

background image

HEIDENHAIN iTNC 530

405

9.4 Separ

a

te

Pr

og

ra

m

as

Su

bp

ro

gr

am

9.4 Separate Program as

Subprogram

Operating sequence

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 after the program call.

Programming notes

n

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

n

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

n

The called program must not contain a call with % into the calling
program (endless loop).

% A G71 *

% B

N99999 % A G71 *

% B G71 *

N99999 % B G71 *