beautypg.com

4 p a th cont ours—car te sian coor dinat e s – HEIDENHAIN iTNC 530 (606 42x-02) ISO programming User Manual

Page 228

background image

228

Programming: Programming Contours

6.4 P

a

th Cont

ours—Car

te

sian Coor

dinat

e

s

Example: Full circle with Cartesian coordinates

%C-CC G71 *

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

Definition of workpiece blank

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

N40 T1 G17 S3150 *

Tool call

N50 G00 G40 G90 Z+250 *

Retract the tool

N60 I+50 J+50 *

Define the circle center

N70 X-40 Y+50 *

Pre-position the tool

N80 G01 Z-5 F1000 M3 *

Move to working depth

N90 G41 X+0 Y+50 F300 *

Approach starting point, radius compensation G41

N100 G26 R5 F150 *

Tangential approach

N110 G02 X+0 *

Move to the circle end point (= circle starting point)

N120 G27 R5 F500 *

Tangential exit

N130 G01 G40 X-40 Y-50 F1000 *

Retract tool in the working plane, cancel radius compensation

N140 G00 Z+250 M2 *

Retract tool in the tool axis, end of program

N99999999 %C-CC G71 *

X

Y

50

50

CC