Subprograms and Program Section Repeats | Program-section repeats
9
HEIDENHAIN | TNC 620 | Conversational Programming User's Manual | 10/2017
349
9.3 Program-section repeats
Label
The beginning of a program section repeat is marked by the label
LBL. The end of a program section repeat is identified by
CALL LBL n REPn.
Operating sequence
1 The control executes the part program up to the end of the
program section (CALL LBL n REPn)
2 Then the program section between the called LABEL and the
label call CALL LBL n REPn is repeated the number of times
entered after REP
3 The control then continues with the part program
Programming notes
You can repeat a program section up to 65 534 times in
succession
The total number of times the program section is executed is
always one more than the programmed number of repeats,
because the first repeat starts after the first machining process.