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

Page 518

Advertising
background image

518

10 Programming: Subprograms and Program Section Repeats

1

0

.6 Pr

ogr

amming Examples

10.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

15

60

100

100

75

10

45

20

20

5

1

2

3

Advertising