beautypg.com

Application example – HEIDENHAIN iTNC 530 (340 49x-03) User Manual

Page 546

background image

546

9 Programming: Special Functions

9

.1

2

G

e

n

e

ra

te

B

a

ck

wa

rd

P

ro

g

ra

m

Application example

The contour CONT1.H is to be milled in several infeeds. The TNC
generates the forward file CONT1_fwd.h and the backward file
CONT1_rev.h

.

NC blocks

...

5 TOOL CALL 12 Z S6000

Tool call

6 L Z+100 R0 FMAX

Retract in the tool axis

7 L X-15 Y-15 R0 F MAX M3

Pre-position in the plane, spindle on

8 L Z+0 R0 F MAX

Approach the starting point in the tool axis

9 LBL 1

Set a mark

10 L IZ-2.5 F1000

Infeed depth in incremental values

11 CALL PGM CONT1_FWD.H

Call the forward program

12 L IZ-2.5 F1000

Infeed depth in incremental values

13 CALL PGM CONT1_FWD.H

Call backward program

14 CALL LBL 1 REP3

Repeat pgm part three times starting with block 9

15 L Z+100 R0 F MAX M2

Retract tool, end of program