Unterprogramm wiederholen, 10 .5 v e rsc h ac ht elung e n – HEIDENHAIN iTNC 530 (340 422) Benutzerhandbuch
Seite 499
Advertising

HEIDENHAIN iTNC 530
499
1
0
.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
0 BEGIN PGM UPGREP MM
...
10 LBL 1
Anfang der Programmteil-Wiederholung 1
11 CALL LBL 2
Unterprogramm-Aufruf
12 CALL LBL 1 REP 2/2
Programmteil zwischen diesem Satz und LBL1
...
(Satz 10) wird 2 mal wiederholt
19 L Z+100 R0 FMAX M2
Letzter Satz des Hauptprogramms mit M2
20 LBL 2
Anfang des Unterprogramms
...
28 LBL 0
Ende des Unterprogramms
29 END PGM UPGREP MM
Advertising