3 program-section repeats, Label g98, Operating sequence – HEIDENHAIN TNC 640 (34059x-05) ISO programming User Manual
Page 277: Programming notes, Program-section repeats
Program-section repeats
8.3
8
TNC 640 | User's ManualDIN/ISO Programming | 1/2015
277
8.3
Program-section repeats
Label G98
The beginning of a program section repeat is marked by the label
G98 L. The end of a program section repeat is identified by
Ln,m.
Operating sequence
1 The TNC executes the part program up to the end of the
program section (
Ln,m)
2 Then the program section between the called LABEL and the
label call
Ln,m is repeated the number of times entered after m
3 The TNC resumes the part program after the last repetition
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.