4 p a th cont ours—car te sian coor dinat e s – HEIDENHAIN TNC 620 (73498x-01) ISO programming User Manual

Page 185

Advertising
background image

HEIDENHAIN TNC 620

185

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 *

N30 T1 G17 S3150 *

Tool call

N40 G00 G40 G90 Z+250 *

Retract the tool

N50 I+50 J+50 *

Define the circle center

N60 X-40 Y+50 *

Pre-position the tool

N70 G01 Z-5 F1000 M3 *

Move to working depth

N80 G41 X+0 Y+50 F300 *

Approach starting point, radius compensation G41

N90 G26 R5 F150 *

Tangential approach

N100 G02 X+0 *

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

N110 G27 R5 F500 *

Tangential exit

N120 G01 G40 X-40 Y-50 F1000 *

Retract tool in the working plane, cancel radius compensation

N130 G00 Z+250 M2 *

Retract tool in the tool axis, end of program

N99999999 %C-CC G71 *

X

Y

50

50

CC

Advertising