beautypg.com

Subprogram nesting – HEIDENHAIN iTNC 530 (340 49x-03) Pilot User Manual

Page 42

background image

Su

bp

rog

ra

m

s an

d p

rog

ra

m

se

c

ti

o

n re

p

e

a

ts

42

Subprogram Nesting

Subprogram within a subprogram

1

The main program runs up to the first subprogram call CALL LBL 1.

2

Subprogram 1 runs up to the second subprogram call CALL LBL 2.

3

Subprogram 2 runs to its end.

4

Subprogram 1 resumes and runs to its end.

5

The main program resumes.

„

A subprogram cannot call itself.

„

Subprograms can be nested up to a maximum depth of 8
levels.

This manual is related to the following products: