beautypg.com

6 pr og ra m m ing exam ple s, Example: milling a contour in several infeeds – HEIDENHAIN TNC 410 ISO Programming User Manual

Page 349

background image

HEIDENHAIN TNC 410, TNC 426, TNC 430

323

9.6 Pr

og

ra

m

m

ing

Exam

ple

s

Example: Milling a contour in several infeeds

Program sequence

n

Pre-position the tool to the workpiece surface

n

Enter the infeed depth in incremental values

n

Mill the contour

n

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