Program layout, 3 pr ogr amming the first p a rt – HEIDENHAIN iTNC 530 (606 42x-01) User Manual

Page 51

Advertising
background image

HEIDENHAIN iTNC 530

51

1

.3 Pr

ogr

amming the First P

a

rt

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 198

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: Program layout for cycle programming

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

Advertising