beautypg.com

6 programming examples, 6 pr ogr amming examples 8.6 programming examples, Example: milling a contour in several infeeds – HEIDENHAIN iTNC 530 (340 49x-05) ISO programming User Manual

Page 243

background image

HEIDENHAIN iTNC 530

243

8.6 Pr

ogr

amming Examples

8.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 downfeed and contour-milling

%PGMWDH G71 *

N10 G30 G17 X+0 Y+0 Z-40 *

N20 G31 G90 X+100 Y+100 Z+0 *

N30 G99 T1 L+0 R+7.5 *

Tool definition

N40 T1 G17 S3500 *

Tool call

N50 G00 G40 G90 Z+250 *

Retract the tool

N60 I+50 J+50 *

Set pole

N70 G10 R+60 H+180 *

Pre-position in the working plane

N80 G01 Z+0 F1000 M3 *

Pre-position to the workpiece surface

X

Y

50

100

50

CC

5

100

R45

60°

5

4

1

2

6

5

3