beautypg.com

Program layout, 3 pr ogr amming the first par t – HEIDENHAIN iTNC 530 (60642x-04) ISO programming User Manual

Page 57

background image

HEIDENHAIN iTNC 530

57

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, accelerates programming and
reduces errors.

Recommended program layout for simple, conventional contour

machining
1
Call the tool, define the tool axis
2 Retract the tool
3 Preposition the tool in the working plane near the contour starting

point

4 In the tool axis, position the tool above the workpiece, or

preposition immediately to workpiece depth. If required, switch on
the spindle/coolant

5 Approach the contour
6 Machine the contour
7 Depart the contour
8 Retract the tool, end the program

Further information on this topic:

Contour programming: See "Tool movements", page 212

Recommended program layout for simple cycle programs
1
Call the tool, define the 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

%EXCONT 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 EXCONT G71 *

Example: Cycle program layout

%EXCYC 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 EXCYC G71 *