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

330
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 *
Define the 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 G213 STUD FINISHING
Define cycle for machining the contour outside
Q200=2
;SET-UP CLEARANCE
Q201=-30
;DEPTH
Q206=250
;FEED RATE FOR PLNGNG
Q202=5
;PLUNGING DEPTH
Q207=250
;FEED RATE FOR MILLING
Q203=+0
;SURFACE COORDINATE
Q204=20
;2ND SET-UP CLEARANCE
Q216=+50
;CENTER IN 1ST AXIS
Q217=+50
;CENTER IN 2ND AXIS
Q218=90
;FIRST SIDE LENGTH
Q219=80
;SECOND SIDE LENGTH
Q220=0
;CORNER RADIUS
Q221=5
;OVERSIZE
X
Y
50
50
100
100
80
90
8
90°
45°
R25
70
Z
Y
-40
-20
-30