beautypg.com

HEIDENHAIN TNC 320 (340 551-01) User Manual

Page 252

background image

252

8 Programming: Cycles

8.4 Cy

cles f

o

r Mac

h

ining P

o

int P

at

ter

ns

Example: Circular hole patterns

0 BEGIN PGM PATTERN MM

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

Define the workpiece blank

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

3 TOOL DEF 1 L+0 R+3

Define the tool

4 TOOL CALL 1 Z S3500

Tool call

5 L Z+250 R0 FMAX M3

Retract the tool

6 CYCL DEF 200 DRILLING

Cycle definition: drilling

Q200=2

;SET-UP CLEARANCE

Q201=-15

;DEPTH

Q206=250

;FEED RATE FOR PLNGNG

Q202=4

;PLUNGING DEPTH

Q210=0

;DWELL TIME

Q203=+0

;SURFACE COORDINATE

Q204=0

;2ND SET-UP CLEARANCE

Q211=0.25

;DWELL TIME AT DEPTH

X

Y

30

70

100

100

R25

R35

30°

90

25