40 din plus program example, Example of a subprogram with contour repetitions – HEIDENHAIN CNC Pilot 4290 V7.1 User Manual

Page 351

Advertising
background image

HEIDENHAIN CNC PILOT 4290

351

4.40 DIN PLUS Pr

ogr

am Example

4.40 DIN PLUS Program Example

Example of a subprogram with contour
repetitions

Contour repetitions, including saving of the contour

PROGRAMMKOPF [PROGRAM HEAD]

#SCHLITTEN $1 [SLIDE]

REVOLVER 1 [TURRET]

T2 ID “121-55-040.1“

T3 ID “111-55.080.1”

T4 ID “161-400.2”

T8 ID “342-18.0-70”

T12 ID “112-12-050.1”

BLANK

N1 G20 X100 Z120 K1

FERTIGTEIL [FINISHED PART]

N2 G0 X19.2 Z-10

N3 G1 Z-8.5 B0.35

N4 G1 X38 B3

N5 G1 Z-3.05 B0.2

N6 G1 X42 B0.5

N7 G1 Z0 B0.2

N8 G1 X66 B0.5

N9 G1 Z-10 B0.5

N10 G1 X19.2 B0.5

BEARBEITUNG [MACHINING]

N11 G26 S2500

N12 G14 Q0

N13 G702 Q0

Save contour

N14 L“1“ V0 Q2

Qx = number of repetitions

N15 M30

UNTERPROGRAMM “1” [SUBPROGRAM]

N16 M108

N17 G702 Q1

Load saved contour

Advertising