beautypg.com

5 p a th cont ours—p o lar coor dinat e s – HEIDENHAIN TNC 640 (34059x-01) ISO programming User Manual

Page 202

background image

202

Programming: Programming Contours

6.5 P

a

th Cont

ours—P

o

lar Coor

dinat

e

s

Example: Helix

%HELIX G71 *

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

Definition of workpiece blank

N20 G31 G90 X+100 Y+100 Z+0 *

N30 T1 G17 S1400 *

Tool call

N40 G00 G40 G90 Z+250 *

Retract the tool

N50 X+50 Y+50 *

Pre-position the tool

N60 G29 *

Transfer the last programmed position as the pole

N70 G01 Z-12.75 F1000 M3 *

Move to working depth

N80 G11 G41 R+32 H+180 F250 *

Approach first contour point

N90 G26 R2 *

Connection

N100 G13 G91 H+3240 Z+13.5 F200 *

Helical interpolation

N110 G27 R2 F500 *

Tangential exit

N120 G01 G40 G90 X+50 Y+50 F1000 *

Retract in the tool axis, end program

N130 G00 Z+250 M2 *

X

Y

50

50

CC

100

100

M64 x 1,5