Subprograms; Operating Sequence; Programming Notes - HEIDENHAIN TNC 620 User Manual

Cnc
Hide thumbs Also See for TNC 620:
Table of Contents

Advertisement

Subprograms and Program Section Repeats | Subprograms
9.2

Subprograms

Operating sequence

1 The control executes the part program up to the CALL LBL
command for calling a subprogram
2 The subprogram is then executed until the subprogram end
LBL 0
3 The control 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 620 | Conversational Programming User's Manual | 10/2017
9
347

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 620 eTnc 620 programming station

Table of Contents