HEIDENHAIN TNC 320 User Manual page 297

Compact contouring control
Hide thumbs Also See for TNC 320:
Table of Contents

Advertisement

8.2
Subprograms
Operating sequence
1 The TNC executes the part program up to calling a subprogram,
CALL LBL.
2 The subprogram is then executed from beginning to end, LBL 0.
3 The TNC then resumes the part program from the block after
the subprogram call CALL LBL
Programming notes
A main program can contain any number of subprograms
You can call subprograms in any sequence and as often as
desired
A subprogram cannot call itself
Write subprograms after the block with M2 or M30
If subprograms are located before the block with M2 or M30
in the part program, they will be executed at least once even if
they are not called
HEIDENHAIN | TNC 320 | Conversational Programming User's Manual | 9/2016
Subprograms
8.2
297
8

Advertisement

Table of Contents
loading

Table of Contents