beautypg.com

Example: milling pockets, studs and slots – HEIDENHAIN iTNC 530 (340 49x-04) ISO programming User Manual

Page 386

background image

386

8 Programming: Cycles

8.4 Cy

cles f

o

r Milling P

o

c

k

ets, St

uds and Slots

Example: Milling pockets, studs and slots

%C210 G71 *

N10 G30 G17 X+0 Y+0 Z-40 *

Definition of workpiece blank

N20 G31 G90 X+100 Y+100 Z+0 *

N30 G99 T1 L+0 R+6 *

Define the tool for roughing/finishing

N40 G99 T2 L+0 R+3 *

Define slotting mill

N50 T1 G17 S3500 *

Call the tool for roughing/finishing

N60 G00 G40 G90 Z+250 *

Retract the tool

N70 G256 RECTANGULAR STUD

Define cycle for machining the contour outside

Q218=90

;FIRST SIDE LENGTH

Q424=100

;WORKPC. BLANK SIDE 1

Q219=80

;SECOND SIDE LENGTH

Q425=100

;WORKPC. BLANK SIDE 2

Q220=0

;CORNER RADIUS

Q368=0

;ALLOWANCE FOR SIDE

Q224=0

;ROTATIONAL POSITION

Q367=0

;STUD POSITION

Q207=250

;FEED RATE FOR MILLING

Q351=+1

;CLIMB OR UP-CUT

Q201=-30

;DEPTH

Q202=5

;PLUNGING DEPTH

X

Y

50

50

100

100

80

90

8

90°

45°

R25

70

Z

Y

-40

-20

-30