6 pr ogr amming examples, Example: groups of holes – HEIDENHAIN TNC 620 (340 56x-02) ISO programming User Manual

Page 193

Advertising
background image

HEIDENHAIN TNC 620

193

7.

6 Pr

ogr

amming Examples

Example: Groups of holes

Program sequence

„

Approach the groups of holes in the main
program

„

Call the group of holes (subprogram 1)

„

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 T1 G17 S3500 *

Tool call

N40 G00 G40 G90 Z+250 *

Retract the tool

N50 G200 DRILLING

Cycle definition: drilling

Q200=2

;SETUP CLEARANCE

Q201=-30

;DEPTH

Q206=300

;FEED RATE FOR PLNGN

Q202=5

;PLUNGING DEPTH

Q210=0

;DWELL TIME AT TOP

Q203=+0

;SURFACE COORDINATE

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

2

3

Advertising