beautypg.com

Programming examples 3.11 – HEIDENHAIN TNC 320 (77185x-01) Cycle programming User Manual

Page 91

background image

Programming Examples 3.11

3

TNC 320 | User's Manual Cycle Programming | 3/2014

91

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 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

;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 L Z+100 R0 FMAX M2

Retract the tool, end program

19 END PGM 1 MM