beautypg.com

1 0 pr ogr amming examples – HEIDENHAIN TNC 128 (77184x-01) User Manual

Page 415

background image

HEIDENHAIN TNC 128

415

16.1

0 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

Z+100 R0 FMAX

Retract the tool, change the tool

9 TOOL CALL 2 Z S5000

Call the drilling tool (radius 2.4)

10

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

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

;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

Z+100 R0 FMAX M2

Retract the tool, end program

19 END PGM 1 MM