beautypg.com

4 p a th cont ours—car te sian coor dinat e s – HEIDENHAIN TNC 320 (340 551-01) User Manual

Page 135

background image

˜ ˜¢¬

135

6.4 P

a

th Cont

ours—Car

te

sian Coor

dinat

e

s

Example: Full circle with Cartesian coordinates

0 BEGIN PGM C-CC MM

1 BLK FORM 0.1 Z X+0 Y+0 Z-20

FOamF˜›^F˜§pczaF4F˜*d"mc

2 BLK FORM 0.2 X+100 Y+100 Z+0

3 TOOL DEF 1 L+0 R+12.5

FOamF˜›^F˜›ppd

4 TOOL CALL 1 Z S3150

ppd˜4"dd

5 CC X+50 Y+50

FOamF˜›^F˜4a4dF˜4Fm›F

6 L Z+250 R0 FMAX

F›"4›˜›^F˜›ppd

7 L X-40 Y+50 R0 FMAX

F_zp’a›apm˜›^F˜›ppd

8 L Z-5 R0 F1000 M3

p¦F˜›p˜§pcamV˜=Fz›^

9 APPR LCT X+0 Y+50 R5 RL F300

zzp"4^˜›^F˜’›"›amV˜zpam›˜pO˜›^F˜4a4dF˜pm˜"˜4a4¤d"˜"4˜§a›^
pmmF4›apm

10 C X+0 DR-

p¦F˜›p˜›^F˜4a4dF˜Fm=˜zpam›˜|K˜4a4dF˜’›"›amV˜zpam›}

11 DEP LCT X-40 Y+50 R5 F1000

Fz"›˜›^F˜4pm›p¤˜pm˜"˜4a4¤d"˜"4˜§a›^˜›"mVFm›a"d

pmmF4›apm

12 L Z+250 R0 FMAX M2

F›"4›˜am˜›^F˜›ppd˜"¨a’:˜Fm=˜zpV"h

13 END PGM C-CC MM

X

Y

50

50

CC