beautypg.com

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

Page 59

background image

HEIDENHAIN iTNC 530

59

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 tool, define 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

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 216

Recommended program layout for simple cycle programs

1

Call tool, define tool axis

2

Retract the tool

3

Define the machining positions

4

Define the fixed cycle

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

0 BEGIN PGM BSPCONT MM

1 BLK FORM 0.1 Z X... Y... Z...

2 BLK FORM 0.2 X... Y... Z...

3 TOOL CALL 5 Z S5000

4 L Z+250 R0 FMAX

5 L X... Y... R0 FMAX

6 L Z+10 R0 F3000 M13

7 APPR ... RL F500

...

16 DEP ... X... Y... F3000 M9

17 L Z+250 R0 FMAX M2

18 END PGM BSPCONT MM

Example: Cycle program layout

0 BEGIN PGM BSBCYC MM

1 BLK FORM 0.1 Z X... Y... Z...

2 BLK FORM 0.2 X... Y... Z...

3 TOOL CALL 5 Z S5000

4 L Z+250 R0 FMAX

5 PATTERN DEF POS1( X... Y... Z... ) ...

6 CYCL DEF...

7 CYCL CALL PAT FMAX M13

8 L Z+250 R0 FMAX M2

9 END PGM BSBCYC MM