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

92
Fixed Cycles: Drilling
3.1
1
Pr
ogr
amming Examples
6 CYCL DEF 240 CENTERING
Cycle definition: CENTERING
Q200=2
;SET-UP CLEARANCE
Q343=0
;SELECT DEPTH/DIA.
Q201=-2
;DEPTH
Q344=-10
;DIAMETER
Q206=150
;FEED RATE FOR PLNGN
Q211=0
;DWELL TIME AT DEPTH
Q203=+0
;SURFACE COORDINATE
Q204=50
;2ND SET-UP CLEARANCE
7 CYCL CALL PAT F5000 M13
Call the cycle in connection with the hole pattern
8 L Z+100 R0 FMAX
Retract the tool, change the tool
9 TOOL CALL 2 Z S5000
Call the drilling tool (radius 2.4)
10 L Z+10 R0 F5000
Move tool to clearance height (enter a value for F)
11 CYCL DEF 200 DRILLING
Cycle definition: drilling
Q200=2
;SET-UP CLEARANCE
Q201=-25
;DEPTH
Q206=150
;FEED RATE FOR PECKING
Q202=5
;PLUNGING DEPTH
Q210=0
;DWELL TIME AT TOP
Q203=+0
;SURFACE COORDINATE
Q204=50
;2ND SET-UP CLEARANCE
Q211=0.2
;DWELL TIME AT DEPTH
12 CYCL CALL PAT F5000 M13
Call the cycle in connection with the hole pattern
13 L Z+100 R0 FMAX
Retract the tool
14 TOOL CALL 3 Z S200
Call the tapping tool (radius 3)
15 L Z+50 R0 FMAX
Move tool to clearance height
16 CYCL DEF 206 TAPPING NEW
Cycle definition for tapping
Q200=2
;SET-UP CLEARANCE
Q201=-25
;DEPTH OF THREAD
Q206=150
;FEED RATE FOR PECKING
Q211=0
;DWELL TIME AT DEPTH
Q203=+0
;SURFACE COORDINATE
Q204=50
;2ND SET-UP CLEARANCE
17 CYCL CALL PAT F5000 M13
Call the cycle in connection with the hole pattern
18 L Z+100 R0 FMAX M2
Retract in the tool axis, end program
19 END PGM 1 MM