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

Page 424

Advertising
background image

424

9 Programming: Subprograms and Program Section Repeats

9.6 Pr

ogr

amming 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 *

Define the tool

N40 T1 G17 S4000 *

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

I,J

5

100

R45

60°

5

1

1

1

2

1

3

1

4

1

5

1

6

Advertising