Unterprogramm wiederholen, 5 v e rsc h ac ht elung e n – HEIDENHAIN iTNC 530 (606 42x-01) ISO programming Benutzerhandbuch

Seite 249

Advertising
background image

HEIDENHAIN iTNC 530

249

8.5 V

e

rsc

h

ac

ht

elung

e

n

Unterprogramm wiederholen

NC-Beispielsätze

Programm-Ausführung

1

Hauptprogramm UPGREP wird bis Satz 11 ausgeführt

2

Unterprogramm 2 wird aufgerufen und ausgeführt

3

Programmteil zwischen Satz 12 und Satz 10 wird 2 mal wiederholt:
Unterprogramm 2 wird 2 mal wiederholt

4

Hauptprogramm UPGREP wird von Satz 13 bis Satz 19 ausgeführt;
Programm-Ende

%UPGREP G71 *

...

N10 G98 L1 *

Anfang der Programmteil-Wiederholung 1

N11 L2,0 *

Unterprogramm-Aufruf

N12 L1,2 *

Programmteil zwischen diesem Satz und G98 L1

...

(Satz N100) wird 2 mal wiederholt

N19 G00 G40 Z+100 M2 *

Letzter Satz des Hauptprogramms mit M2

N20 G98 L2 *

Anfang des Unterprogramms

...

N28 G98 L0 *

Ende des Unterprogramms

N99999999 %UPGREP G71 *

Advertising