beautypg.com

Fixed cycles: drilling 3.11 programming examples – HEIDENHAIN TNC 640 (34059x-04) Cycle programming User Manual

Page 100

background image

Fixed Cycles: Drilling

3.11 Programming Examples

3

100

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

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