6 pr ogr a mmier -beispiele – HEIDENHAIN TNC 620 (73498x-01) ISO programming Benutzerhandbuch

Seite 210

Advertising
background image

210

Programmieren: Unterprogramme und Programmteil-Wiederholungen

7.

6 Pr

ogr

a

mmier

-Beispiele

N70 G00 Z+250 M6 *

Werkzeug-Wechsel

N80 T2 G17 S4000 *

Werkzeug-Aufruf Bohrer

N90 D0 Q201 P01 -25 *

Neue Tiefe fürs Bohren

N100 D0 Q202 P01 +5 *

Neue Zustellung fürs Bohren

N110 L1,0 *

Unterprogramm 1 für komplettes Bohrbild rufen

N120 G00 Z+250 M6 *

Werkzeug-Wechsel

N130 T3 G17 S500 *

Werkzeug-Aufruf Reibahle

N140 G201 REIBEN

Zyklus-Definition Reiben

Q200=2

;SICHERHEITS-ABST.

Q201=-15

;TIEFE

Q206=250

;VORSCHUB TIEFENZ.

Q211=0.5

;VERWEILZEIT UNTEN

Q208=400

;VORSCHUB RUECKZUG

Q203=+0

;KOOR. OBERFL.

Q204=10

;2. S.-ABSTAND

N150 L1,0 *

Unterprogramm 1 für komplettes Bohrbild rufen

N160 G00 Z+250 M2 *

Ende des Hauptprogramms

N170 G98 L1 *

Anfang des Unterprogramms 1: Komplettes Bohrbild

N180 G00 G40 G90 X+15 Y+10 M3 *

Startpunkt Bohrungsgruppe 1 anfahren

N190 L2,0 *

Unterprogramm 2 für Bohrungsgruppe rufen

N200 X+45 Y+60 *

Startpunkt Bohrungsgruppe 2 anfahren

N210 L2,0 *

Unterprogramm 2 für Bohrungsgruppe rufen

N220 X+75 Y+10 *

Startpunkt Bohrungsgruppe 3 anfahren

N230 L2,0 *

Unterprogramm 2 für Bohrungsgruppe rufen

N240 G98 L0 *

Ende des Unterprogramms 1

N250 G98 L2 *

Anfang des Unterprogramms 2: Bohrungsgruppe

N260 G79 *

Zyklus aufrufen für Bohrung 1

N270 G91 X+20 M99 *

Bohrung 2 anfahren, Zyklus aufrufen

N280 Y+20 M99 *

Bohrung 3 anfahren, Zyklus aufrufen

N290 X-20 G90 M99 *

Bohrung 4 anfahren, Zyklus aufrufen

N300 G98 L0 *

Ende des Unterprogramms 2

N310 %UP2 G71 *

Advertising