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

Klartext programming
Hide thumbs Also See for TNC 620:
Table of Contents

Advertisement

Subprograms and program section repeats | Subprograms
8.2

Subprograms

Operating sequence

1 The control executes the NC program up to the block in which a
subprogram is called with CALL LBL
2 The subprogram is then executed until the subprogram end
LBL 0
3 The control then resumes the NC program from the NC 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 NC block with M2 or M30
If subprograms are located in the NC program before the
NC block with M2 or M30, they will be executed at least once
even if they are not called

Programming the subprogram

To mark the beginning: Press the LBL SET key
Enter the subprogram number. If you want to use
a label name, press the LBL NAME soft key to
switch to text entry.
Enter the text
Mark the end: Press the LBL SET key and enter
the label number 0
HEIDENHAIN | TNC 620 | Klartext Programming User's Manual | 01/2022
8
245

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 620 eTnc 620 programming station

Table of Contents