beautypg.com

13 pr ogr amming example – HEIDENHAIN TNC 128 (77184x-01) User Manual

Page 422

background image

422

Drilling, boring and thread cycles

16.13 Pr

ogr

amming example

10 CYCL CALL PAT F5000 M3

Cycle call in connection with point table TAB1.PNT

Feed rate between points: 5000 mm/min

11

Z+100 R0 FMAX M6

Retract the tool, change the tool

12 TOOL CALL 2 Z S5000

Call tool: drill

13

Z+10 R0 F5000

Move tool to clearance height (enter a value for F)

14 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

0 must be entered here, effective as defined in point table

Q204=0

;2ND SET-UP CLEARANCE

0 must be entered here, effective as defined in point table

Q211=0.2

;DWELL TIME AT DEPTH

15 CYCL CALL PAT F5000 M3

Cycle call in connection with point table TAB1.PNT

16

Z+100 R0 FMAX M6

Retract the tool, change the tool

17 TOOL CALL 3 Z S200

Call tool: tap

18

Z+50 R0 FMAX

Move tool to clearance height

19 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

0 must be entered here, effective as defined in point table

Q204=0

;2ND SET-UP CLEARANCE

0 must be entered here, effective as defined in point table

20 CYCL CALL PAT F5000 M3

Cycle call in connection with point table TAB1.PNT

21

Z+100 R0 FMAX M2

Retract the tool, end program

22 END PGM 1 MM