beautypg.com

6 programming examples, 6 pr ogr amming examples 7.6 programming examples, Example: milling a contour in several infeeds – HEIDENHAIN TNC 320 (340 55x-05) User Manual

Page 221

background image

HEIDENHAIN TNC 320

221

7.

6 Pr

ogr

amming Examples

7.6 Programming Examples

Example: Milling a contour in several infeeds

Program sequence

„

Pre-position the tool to the workpiece surface

„

Enter the infeed depth in incremental values

„

Contour milling

„

Repeat infeed and contour-milling

0 BEGIN PGM PGMWDH MM

1 BLK FORM 0.1 Z X+0 Y+0 Z-40

2 BLK FORM 0.2 X+100 Y+100 Z+0

3 TOOL CALL 1 Z S500

Tool call

4 L Z+250 R0 FMAX

Retract the tool

5 L X-20 Y+30 R0 FMAX

Pre-position in the working plane

6 L Z+0 R0 FMAX M3

Pre-position to the workpiece surface

X

Y

100

100

20

75

30

50

20

75

R1

5

R18

R15