beautypg.com

5 p a th co nt o u rs —p olar co or d inat e s – HEIDENHAIN TNC 410 ISO Programming User Manual

Page 169

background image

HEIDENHAIN TNC 410, TNC 426, TNC 430

143

6.5 P

a

th Co

nt

o

u

rs

—P

olar Co

or

d

inat

e

s

Example: Linear movement with polar coordinates

%LINEARPO G71 *

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

Define the workpiece blank

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 *

Define the datum for polar coordinates

N60 I+50 J+50 *

Retract the tool

N70 G10 R+60 H+180 *

Pre-position the tool

N80 G01 Z-5 F1000 M3 *

Move to working depth

N90 G11 G41 R+45 H+180 F250 *

Approach the contour at point 1

N110 G26 R5 *

Approach the contour at point 1

N120 H+120 *

Move to point 2

N130 H+60 *

Move to point 3

N140 H+0 *

Move to point 4

N150 H-60 *

Move to point 5

N160 H-120 *

Move to point 6

N170 H+180 *

Move to point 1

N180 G27 R5 F500 *

Tangential departure

N190 G40 R+60 H+180 F1000 *

Retract tool in the working plane, cancel radius compensation

N200 G00 Z+250 M2 *

Retract in the spindle axis, end of program

N999999 %LINEARPO G71 *

X

Y

50

100

50

I,J

5

100

R

45

60°

5

1

1

1

2

1

3

1

4

1

5

1

6