6 pr og ra m m ing exam ple s, Example: groups of holes – HEIDENHAIN TNC 410 ISO Programming User Manual

Page 351

Advertising
background image

HEIDENHAIN TNC 410, TNC 426, TNC 430

325

9.6 Pr

og

ra

m

m

ing

Exam

ple

s

Example: Groups of holes

Program sequence

n

Approach the groups of holes in the main
program

n

Call the group of holes (subprogram 1)

n

Program the group of holes only once in
subprogram 1

%UP1 G71 *

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

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

N30 G99 T1 L+0 R+2.5 *

Define the tool

N40 T1 G17 S5000 *

Tool call

N50 G00 G40 G90 Z+250 *

Retract the tool

N60 G200

Cycle definition: drilling

Q200=2

set-up clearance

Q201=-30

Depth

Q206=300

Feed rate

Q202=5

Plunging depth

Q210=0

Dwell time at top

Q203=0

Workpiece surface

Q204=2

2nd set-up clearance

Q211=0 *

Dwell time at depth

X

Y

15

60

100

100

75

10

45

20

20

5

1

1

1

2

1

3

Advertising