6 pr ogr a mmier -beispiele – HEIDENHAIN TNC 128 (77184x-01) Benutzerhandbuch

Seite 178

Advertising
background image

178

Programmieren: Unterprogramme und Programmteil-Wiederholungen

7.

6 Pr

ogr

a

mmier

-Beispiele

6

X+15 R0 FMAX M3

Startpunkt X Bohrungsgruppe 1 anfahren

7

Y+10 R0 FMAX

Startpunkt Y Bohrungsgruppe 1 anfahren

8 CALL LBL 1

Unterprogramm für Bohrungsgruppe rufen

9

X+45 R0 FMAX

Startpunkt X Bohrungsgruppe 2 anfahren

10

Y+60 R0 FMAX

Startpunkt Y Bohrungsgruppe 2 anfahren

11 CALL LBL 1

Unterprogramm für Bohrungsgruppe rufen

12

X+75 R0 FMAX

Startpunkt X Bohrungsgruppe 3 anfahren

13

Y+10 R0 FMAX

Startpunkt Y Bohrungsgruppe 3 anfahren

14 CALL LBL 1

Unterprogramm für Bohrungsgruppe rufen

15

Z+250 R0 FMAX M30

Ende des Hauptprogramms

16 LBL 1

Anfang des Unterprogramms 1: Bohrungsgruppe

17 CYCL CALL

Bohrung 1

18

IX+20 R0 FMAX M99

Bohrung 2 anfahren, Zyklus aufrufen

19

IY+20 R0 FMAX M99

Bohrung 3 anfahren, Zyklus aufrufen

20

IX-20 R0 FMAX M99

Bohrung 4 anfahren, Zyklus aufrufens

21 LBL 0

Ende des Unterprogramms 1

22 END PGM UP1 MM

Advertising