HEIDENHAIN TNC 426 (280 476) Pilot User Manual
Page 33

34
Subprograms
S
= Jump;
R
= Return jump
Subprogram Nesting:
A Subprogram within a Subprogram
1
The main program runs up to the first subprogram call CALL LBL1.
2
Subprogram 1 runs up to the second subprogram call CALL LBL2.
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: