6 p ro g ra m m ier -b ei s p ie le – HEIDENHAIN TNC 410 ISO Programming Benutzerhandbuch
Seite 354

328
9 Programmieren: Unterprogramme und Programmteil-Wiederholungen
9.
6 P
ro
g
ra
m
m
ier
-B
ei
s
p
ie
le
N7 0 X + 15 Y +1 0 M 3 *
Startpunkt Bohrungsgruppe 1 anfahren
N8 0 L 1 ,0 *
Unterprogramm für Bohrungsgruppe rufen
N9 0 X + 45 Y +6 0 *
Startpunkt Bohrungsgruppe 2 anfahren
N1 0 0 L 1, 0 *
Unterprogramm für Bohrungsgruppe rufen
N1 1 0 X +7 5 Y+ 1 0 *
Startpunkt Bohrungsgruppe 3 anfahren
N1 2 0 L 1, 0 *
Unterprogramm für Bohrungsgruppe rufen
N1 3 0 G 00 Z +2 5 0 M 2 *
Ende des Hauptprogramms
N1 4 0 G 98 L 1 *
Anfang des Unterprogramms 1: Bohrungsgruppe
N1 5 0 G 79 *
Zyklus aufrufen für Bohrung 1
N1 6 0 G 91 X +2 0 M 9 9 *
Bohrung 2 anfahren, Zyklus aufrufen
N1 7 0 Y +2 0 M9 9 *
Bohrung 3 anfahren, Zyklus aufrufen
N1 8 0 X -2 0 G9 0 M 9 9 *
Bohrung 4 anfahren, Zyklus aufrufen
N1 9 0 G 98 L 0 *
Ende des Unterprogramms 1
N9 9 99 9 9 % U P1 G7 1 *