Programming examples 16.10 – HEIDENHAIN TNC 128 (77184x-02) User Manual
Page 419

Programming Examples 16.10
16
TNC 128 | User's Manual HEIDENHAIN Conversational Programming | 5/2014
419
11 CYCL DEF 200 DRILLING
Cycle definition: drilling
Q200=2
;SET-UP CLEARANCE
Q201=-25
;DEPTH
Q206=150
;FEED RATE FOR PLNGNG
Q202=5
;PLUNGING DEPTH
Q211=0
;DWELL TIME AT TOP
Q203=+0
;SURFACE COORDINATE
Q204=50
;2ND SET-UP CLEARANCE
Q211=0.2
;DWELL TIME AT BOTTOM
Q395=0
;DEPTH REFERENCE
12 CYCL CALL PAT F5000 M13
Call the cycle in connection with the hole pattern
13 Z+100 R0 FMAX
Retract the tool
14 TOOL CALL 3 Z S200
Call the tapping tool (radius 3)
15 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
;THREAD DEPTH
Q206=150
;FEED RATE FOR PLNGNG
Q211=0
;DWELL TIME AT BOTTOM
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 Z+100 R0 FMAX M2
Retract the tool, end program
19 END PGM 1 MM