Program layout, 3 pr ogr amming the first par t – HEIDENHAIN TNC 620 (73498x-01) ISO programming User Manual

Page 39

Advertising
background image

HEIDENHAIN TNC 620

39

1

.3 Pr

ogr

amming the first par

t

Program layout

NC programs should be arranged consistently in a similar manner. This
makes it easier to find your place and reduces errors.

Recommended program layout for simple, conventional contour
machining

1

Call tool, define tool axis

2

Retract the tool

3

Pre-position the tool in the working plane near the contour starting
point

4

In the tool axis, position the tool above the workpiece, or pre-
position immediately to workpiece depth. If required, switch on
the spindle/coolant

5

Move to the contour

6

Machine the contour

7

Leave the contour

8

Retract the tool, end the program

Further information on this topic:

„

Contour programming: See "Tool movements" on page 166

Recommended program layout for simple cycle programs

1

Call tool, define tool axis

2

Retract the tool

3

Define the fixed cycle

4

Move to the machining position

5

Call the cycle, switch on the spindle/coolant

6

Retract the tool, end the program

Further information on this topic:

„

Cycle programming: See User’s Manual for Cycles

Example: Layout of contour machining programs

%BSPCONT G71 *

N10 G30 G71 X... Y... Z... *

N20 G31 X... Y... Z... *

N30 T5 G17 S5000 *

N40 G00 G40 G90 Z+250 *

N50 X... Y... *

N60 G01 Z+10 F3000 M13 *

N70 X... Y... RL F500 *

...

N160 G40 ... X... Y... F3000 M9 *

N170 G00 Z+250 M2 *

N99999999 BSPCONT G71 *

Example: Cycle program layout

%BSBCYC G71 *

N10 G30 G71 X... Y... Z... *

N20 G31 X... Y... Z... *

N30 T5 G17 S5000 *

N40 G00 G40 G90 Z+250 *

N50 G200... *

N60 X... Y... *

N70 G79 M13 *

N80 G00 Z+250 M2 *

N99999999 BSBCYC G71 *

Advertising