beautypg.com

HEIDENHAIN TNC 320 (340 551-01) User Manual

Page 223

background image

HEIDENHAIN TNC 320

223

8.2 Cy

cles f

o

r Dr

illing,

T

apping and Thr

ead Milling

Example: Drilling cycles

0 BEGIN PGM C200 MM

1 BLK FORM 0.1 Z X+0 Y+0 Z-20

Define the workpiece blank

2 BLK FORM 0.2 X+100 Y+100 Z+0

3 TOOL DEF 1 L+0 R+3

Define the tool

4 TOOL CALL 1 Z S4500

Tool call

5 L Z+250 R0 FMAX

Retract the tool

6 CYCL DEF 200 DRILLING

Define cycle

Q200=2

;SET-UP CLEARANCE

Q201=-15

;DEPTH

Q206=250

;FEED RATE FOR PLNGNG

Q202=5

;PLUNGING DEPTH

Q210=0

;DWELL TIME AT TOP

Q203=-10

;SURFACE COORDINATE

Q204=20

;2ND SET-UP CLEARANCE

Q211=0.2

;DWELL TIME AT DEPTH

X

Y

20

10

100

100

10

90

90

80