1 0 pr ogr amming examples – HEIDENHAIN TNC 640 (34059x-01) Cycle programming User Manual
Page 193

HEIDENHAIN TNC 640
193
7.
1
0
Pr
ogr
amming Examples
8 CYCL DEF 21 PILOT DRILLING
Cycle definition: Pilot drilling
Q10=5
;PLUNGING DEPTH
Q11=250
;FEED RATE FOR PLNGNG
Q13=2
;ROUGH-OUT TOOL
9 CYCL CALL M3
Cycle call: Pilot drilling
10 L +250 R0 FMAX M6
Tool change
11 TOOL CALL 2 Z S3000
Call the tool for roughing/finishing, diameter 12
12 CYCL DEF 22 ROUGH-OUT
Cycle definition: Rough-out
Q10=5
;PLUNGING DEPTH
Q11=100
;FEED RATE FOR PLNGNG
Q12=350
;FEED RATE FOR ROUGHING
Q18=0
;COARSE ROUGHING TOOL
Q19=150
;RECIPROCATION FEED RATE
Q208=30000 ;RETRACTION FEED RATE
13 CYCL CALL M3
Cycle call: Rough-out
14 CYCL DEF 23 FLOOR FINISHING
Cycle definition: Floor finishing
Q11=100
;FEED RATE FOR PLNGNG
Q12=200
;FEED RATE FOR ROUGHING
Q208=30000 ;RETRACTION FEED RATE
15 CYCL CALL
Cycle call: Floor finishing
16 CYCLE DEF 24 SIDE FINISHING
Cycle definition: Side finishing
Q9=+1
;DIRECTION OF ROTATION
Q10=5
;PLUNGING DEPTH
Q11=100
;FEED RATE FOR PLNGNG
Q12=400
;FEED RATE FOR ROUGHING
Q14=+0
;ALLOWANCE FOR SIDE
17 CYCL CALL
Cycle call: Side finishing
18 L Z+250 R0 FMAX M2
Retract in the tool axis, end program