Example: milling pockets, studs and slots – HEIDENHAIN TNC 310 (286 140) User Manual
Page 136

8 Programming: Cycles
124
Example: Milling pockets, studs and slots
Define the workpiece blank
Define the tool for roughing/finishing
Define slotting mill
Call tool for roughing/finishing
Retract the tool
Define cycle for machining the contour outside
0 BEGIN PGM 210 MM
1 BLK FORM 0.1 Z X+0 Y+0 Z-40
2 BLK FORM 0.2 X+100 Y+100 Z+0
3 TOOL DEF 1 L+0 R+6
4 TOOL DEF 2 L+0 R+3
5 TOOL CALL 1 Z S3500
6 L Z+250 R0 F MAX
7 CYCL DEF 213 STUD FINISHING
Q200=2 ;SET-UP CLEARANCE
Q201=-30 ;DEPTH
Q206=250 ;FEED RATE FOR PLUNGING
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 ;ALLOWANCE
1ST AXIS
8.3 Cy
cle f
or Milling P
o
c
k
ets,
St
uds and Slots
X
Y
50
50
100
100
80
90
8
90°
45°
R25
70
Z
Y
-40
-20
-30