beautypg.com

HEIDENHAIN TNC 410 ISO Programming User Manual

Page 284

background image

258

8 Programming: Cycles

8.5 Cy

cles f

o

r Mac

h

in

ing

Hole

P

a

tt

er

n

s

Example: Circular hole patterns

%PATTERN G71 *

N10 G30 G17 X+0 Y+0 Z-40 *

Define the workpiece blank

N20 G31 G90 X+100 Y+100 Z+0 *

N30 G99 T1 L+0 R+3 *

Define the tool

N40 T1 G17 S3500 *

Tool call

N50 G00 G40 G90 Z+250 M03 *

Retract the tool

N60 G200 Q200=2 Q201=-15 Q206=250

Cycle definition: drilling

Q202=4 Q210=0 Q203=+0 Q204=0 *

N70 G220 Q216=+30 Q217=+70 Q244=50

Cycle definition: circular hole pattern 1

Q245=+0 Q246=+360 Q247=+0 Q241=10

Q200=2 Q203=+0 Q204=100 *

N80 G220 Q216=+90 Q217=+25 Q244=70

Cycle definition: circular hole pattern 2

Q245=+90 Q246=+360 Q247=+30 Q241=5

Q200=2 Q203=+0 Q204=100 *

N90 G00 G40 Z+250 M02 *

Retract in the tool axis, end program

N999999 %PATTERN G71

X

Y

30

70

100

100

R25

R35

30°

90

25