6 sl cy cles – HEIDENHAIN iTNC 530 (340 420) User Manual
Page 340

312
8 Programming: Cycles
8.6 SL Cy
cles
Example: Pilot drilling, roughing-out and finishing overlapping contours
0 BEGIN PGM C21 MM
1 BLK FORM 0.1 Z X+0 Y+0 Z-40
Define the workpiece blank
2 BLK FORM 0.2 X+100 Y+100 Z+0
3 TOOL DEF 1 L+0 R+6
Define tool: drill
4 TOOL DEF 2 L+0 R+6
Define the tool for roughing/finishing
5 TOOL CALL 1 Z S2500
Call the drilling tool
6 L Z+250 R0 FMAX
Retract the tool
7 CYCL DEF 14.0 CONTOUR GEOMETRY
Define contour subprogram
8 CYCL DEF 14.1 CONTOUR LABEL 1/2/3/4
9 CYCL DEF 20.0 CONTOUR DATA
Define general machining parameters
Q1=-20
;MILLING DEPTH
Q2=1
;TOOL PATH OVERLAP
Q3=+0.5
;ALLOWANCE FOR SIDE
Q4=+0.5
;ALLOWANCE FOR FLOOR
Q5=+0
;SURFACE COORDINATE
Q6=2
;SAFETY CLEARANCE
Q7=+100
;CLEARANCE HEIGHT
Q8=0.1
;ROUNDING RADIUS
Q9=-1
;DIRECTION OF ROTATION
X
Y
35
50
100
100
16
16
R25
65
16
R25