beautypg.com

Application example – HEIDENHAIN iTNC 530 (34049x-08) User Manual

Page 448

background image

448

Programming: Special functions

1

1

.8 Gener

a

ting a bac

k

w

a

rd

pr

ogr

am

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_REV.H

Call backward program

14 CALL LBL 1 REP3

Repeat program part three times starting with
block 9

15 L Z+100 R0 F MAX M2

Retract tool, end of program