Types Of Nesting; Nesting Depth; Subprogram Within A Subprogram - HEIDENHAIN ITNC 530 User Manual

Conversational programming
Hide thumbs Also See for ITNC 530:
Table of Contents

Advertisement

10.5 Nesting

Types of nesting

Subprograms within a subprogram
Program section repeats within a program section repeat
Subprograms repeated
Program section repeats within a subprogram

Nesting depth

The nesting depth is the number of successive levels in which
program sections or subprograms can call further program sections or
subprograms.
Maximum nesting depth for subprograms: 8
Maximum nesting depth for main program calls: 6, where a CYCL
CALL acts like a main program call.
You can nest program section repeats as often as desired.

Subprogram within a subprogram

Example NC blocks
0 BEGIN PGM UPGMS MM
...
17 CALL LBL "SP1"
...
35 L Z+100 R0 FMAX M2
36 LBL "SP1"
...
39 CALL LBL 2
...
45 LBL 0
46 LBL 2
...
62 LBL 0
63 END PGM UPGMS MM
HEIDENHAIN iTNC 530
Call the subprogram marked with LBL SP1
Last program block of the
Main program (with M02)
Beginning of subprogram SP2
Call the subprogram marked with LBL 2
End of subprogram 1
Beginning of subprogram 2
End of subprogram 2
521

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Itnc 530 e

Table of Contents