HEIDENHAIN TNC 410 ISO Programming User Manual

Page 253

Advertising
background image

HEIDENHAIN TNC 410, TNC 426, TNC 430

227

8.3 Cy

cles f

o

r Dr

illing

, T

a

p

p

ing

and

Th

read Millin

g

Example: Drilling cycles

%C200 G71 *

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

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 S4500 *

Tool call

N50 G00 G40 G90 Z+250 *

Retract the tool

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

Define cycle

Q202=5 Q210=0 Q203=0 Q204=50 *

N70 X+10 Y+10 M3 *

Approach hole 1, spindle ON

N80 Z-8 M99 *

Pre-position in the spindle axis, cycle call

N90 Y+90 M99 *

Approach hole 2, call cycle

N100 Z+20 *

Retract in the spindle axis

N110 X+90 *

Approach hole 3

N120 Z-8 M99 *

Pre-position in the spindle axis, cycle call

N130 Y+10 M99 *

Approach hole 4, call cycle

N140 G00 Z+250 M2 *

Retract in the tool axis, end program

N999999 %C200 G71 *

Call the cycle

X

Y

20

10

100

100

10

90

90

80

Advertising