3 program section repeats, Label g98, Operating sequence – HEIDENHAIN iTNC 530 (340 49x-03) ISO programming User Manual

Page 492: Programming notes, Programming a program section repeat, Calling a program section repeat

Advertising
background image

492

10 Programming: Subprograms and Program Section Repeats

1

0.3 Pr

ogr

am Section Repeats

10.3 Program Section Repeats

Label G98

The beginning of a program section repeat is marked by the label G98
L.

A program section repeat ends with Ln,m, where m is the number

of repeats.

Operating sequence

1

The TNC executes the part program up to the end of the program
section (L1.2).

2

Then the program section between the called label and the label
call L 1.2 is repeated the number of times entered after the
decimal point.

3

The TNC then resumes the part program after the last repetition.

Programming notes

„

You can repeat a program section up to 65 534 times in succession.

„

The TNC always executes the program section once more than the
programmed number of repeats.

Programming a program section repeat

8

To mark the beginning, press the LBL SET key, then

confirm with the ENT key.

8

Enter a label number for the program section to be

repeated, then confirm with the ENT key. If you want
to use a label name, press the key ” to switch to text
entry.

Calling a program section repeat

8

Press the LBL CALL key.

8

Label number:

Enter the label number of the

subprogram to be called, then confirm with the ENT
key. If you want to use a label name, press the key ”
to switch to text entry.

8

Repeat REP:

Enter the number of repeats, then

confirm with the ENT key.

% ...

G98 L1 *

L1,2 *

N99999 % ...

Advertising