beautypg.com

8 example pr ogr am – HEIDENHAIN SW 548328-05 DIN Programming User Manual

Page 522

background image

522

DIN programming for the Y axis

6.8 Example pr

ogr

am

Example: "Y axis [BSP_Y.NC]"

HEADER

#MATERIAL Aluminum

#WORKPIECE Example Y axis

#UNIT Metric

TURRET 1

T1

ID"Roughing 80 G."

T2

ID"NC center drill"

T3

ID"Finishing 35 G."

T4

ID"Drill 5.2mm"

T5

ID"Thread outside"

T6

ID"Tapping M6".

T8

ID"Mill D16mm"

T10

ID"Mill D6mm"

T12

ID"Deburring_m"

BLANK

N

1 G20 X70 Z97 K1

FINISHED PART

N

2 G0 X0 Z0

N

3 G1 X30 BR-2

N

4 G1 Z-20

N

5 G25 H7 I1.5 K7 R1 W30 FP2

[Undercut DIN 76]

N

6 G1 X56 BR-1

N

7 G1 Z-60

N

8 G1 X64 BR-1

N

9 G1 Z-75 BR-1

N 10 G1 X44 BR3

N 11 G1 Z-95 BR-1

N 12 G1 X0

N 13 G1 Z0

LATERAL_Y X56 C0

[Define YZ plane]

N 14 G308 ID"Surface"

N 15 G386 Z-55 Ki8 B30 X56 C0

[Single surface]

N 16 G308 ID"Slot 10mm" P-2

N 17 G381 Z-40 Y0 A90 K50 B10

[Linear slot on single surface]