beautypg.com

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

Page 133

background image

˜ ˜¢¬

133

6.4 P

a

th Cont

ours—Car

te

sian Coor

dinat

e

s

Example: Circular movements with Cartesian coordinates

0 BEGIN PGM CIRCULAR MM

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

FOamF˜*d"mc˜Oph˜Op˜V"z^a4˜§pczaF4F˜’ah¤d"›apm

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

3 TOOL DEF 1 L+0 R+10

FOamF˜›ppd˜am˜›^F˜zpV"h

4 TOOL CALL 1 Z X4000

"dd˜›ppd˜am˜›^F˜’zam=dF˜"¨a’˜"m=˜§a›^˜›^F˜’zam=dF˜’zFF=˜

5 L Z+250 R0 FMAX

F›"4›˜›ppd˜am˜›^F˜’zam=dF˜"¨a’˜"›˜"za=˜›"¦F’F˜

6 L X-10 Y-10 R0 FMAX

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

7 L Z-5 R0 F1000 M3

p¦F˜›p˜§pcamV˜=Fz›^˜"›˜OFF=˜"›F˜ ˜K˜s¬¬¬˜hh—ham

8 APPR LCT X+5 Y+5 R5 RL F300

zzp"4^˜›^F˜4pm›p¤˜"›˜zpam›˜s˜pm˜"˜4a4¤d"˜"4˜§a›^˜

›"mVFm›a"d˜4pmmF4›apm

9 L X+5 Y+85

pam›˜¢9˜Oa’›˜’›"aV^›˜damF˜Op˜4pmF˜¢

10 RND R10 F150

m’F›˜"=a¤’˜§a›^˜˜K˜s¬˜hh:˜OFF=˜"›F9˜sQ¬˜hh—ham

11 L X+30 Y+85

p¦F˜›p˜zpam›˜9˜›"›amV˜zpam›˜pO˜›^F˜"4˜§a›^˜

12 CR X+70 Y+95 R+30 DR-

p¦F˜›p˜zpam›˜T9˜ m=˜zpam›˜pO˜›^F˜"4˜§a›^˜ :˜"=a¤’˜¬˜hh

13 L X+95

p¦F˜›p˜zpam›˜Q

14 L X+95 Y+40

p¦F˜›p˜zpam›˜–

15 CT X+40 Y+5

p¦F˜›p˜zpam›˜•9˜ m=˜zpam›˜pO˜›^F˜"4:˜"=a¤’˜§a›^˜›"mVFm›a"d
4pmmF4›apm˜›p˜zpam›˜–:˜ ˜"¤›ph"›a4"dd©˜4"d4¤d"›F’˜›^F˜"=a¤’

X

Y

95

5

95

5

85

40

40

30

70

R10

R30

1

1

1

2

1

3

1

4

1

5

1

6

1

7