Unterprogramm im unterprogramm, 5 v ersc h ac ht elung en – HEIDENHAIN iTNC 530 (60642x-03) ISO programming Benutzerhandbuch

Seite 273

Advertising
background image

HEIDENHAIN iTNC 530

273

8.5

V

ersc

h

ac

ht

elung

en

Unterprogramm im Unterprogramm

NC-Beispielsätze

Programm-Ausführung
1

Hauptprogramm UPGMS wird bis Satz 17 ausgeführt

2

Unterprogramm UP1 wird aufgerufen und bis Satz 39 ausgeführt

3

Unterprogramm 2 wird aufgerufen und bis Satz 62 ausgeführt.

Ende von Unterprogramm 2 und Rücksprung zum

Unterprogramm, von dem es aufgerufen wurde

4

Unterprogramm 1 wird von Satz 40 bis Satz 45 ausgeführt. Ende

von Unterprogramm 1 und Rücksprung ins Hauptprogramm

UPGMS

5

Hauptprogramm UPGMS wird von Satz 18 bis Satz 35 ausgeführt.

Rücksprung zu Satz 1 und Programm-Ende

%UPGMS G71 *

...

N17 L “UP1“,0 *

Unterprogramm bei G98 L UP1 wird aufgerufen

...

N35 G00 G40 Z+100 M2 *

Letzter Programmsatz des
Hauptprogramms (mit M2)

N36 G98 L “UP1“

Anfang von Unterprogramm UP1

...

N39 L2,0 *

Unterprogramm bei G98 L2 wird aufgerufen

...

N45 G98 L0 *

Ende von Unterprogramm 1

N46 G98 L2 *

Anfang von Unterprogramm 2

...

N62 G98 L0 *

Ende von Unterprogramm 2

N99999999 %UPGMS G71 *

Advertising