Unterprogramm wiederholen, 5 v ersc h ac ht elung en – HEIDENHAIN iTNC 530 (34049x-08) ISO programming Benutzerhandbuch

Seite 273

Advertising
background image

HEIDENHAIN iTNC 530

273

8.5

V

ersc

h

ac

ht

elung

en

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 N10) 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