beautypg.com

5 p ath cont ours — p olar coor dinat es – HEIDENHAIN TNC 426B (280 472) ISO programming User Manual

Page 132

background image

116

6 Programming: Programming Contours

6.5 P

ath Cont

ours — P

olar Coor

dinat

es

Example: Linear movement with polar coordinates

Define the workpiece blank

Define the tool

Call the tool

Retract the tool

Define the datum for polar coordinates

Pre-position the tool

Move to working depth

Approach the contour at point 1

Tangential approach

Move to point 2

Move to point 3

Move to point 4

Move to point 5

Move to point 6

Move to point 1

Tangential departure

Retract tool in the working plane, cancel radius compensation

Retract tool in the spindle axis, end of program

%LINEARPO G71 *
N10 G30 G17 X+0 Y+0 Z-20 *
N20 G31 G90 X+100 Y+100 Z+0 *
N30 G99 T1 L+0 R+7,5 *
N40 T1 G17 S4000 *
N50 G00 G40 G90 Z+250 *
N60 I+50 J+50 *
N70 G10 R+60 H+180 *
N80 G01 Z-5 F1000 M3 *
N90 G11 G41 R+45 H+180 F250 *
N110 G26 R5 *
N120 H+120 *
N130 H+60 *
N140 H+0 *
N150 H-60 *
N160 H-120 *
N170 H+180 *
N180 G27 R5 F500 *
N190 G40 R+60 H+180 F1000 *
N200 G00 Z+250 M2 *
N999999 %LINEARPO G71 *

X

Y

50

100

50

I,J

5

100

R45

60°

5

Gkap6.pm6

29.06.2006, 08:06

116