beautypg.com

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

Page 132

background image

132

–˜pV"hhamV9˜pV"hhamV˜ pm›p¤’

6.4 P

a

th Cont

ours—Car

te

sian Coor

dinat

e

s

Example: Linear movements and chamfers with Cartesian coordinates

0 BEGIN PGM LINEAR 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 S4000

"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 LT X+5 X+5 LEN10 RL F300

zzp"4^˜›^F˜4pm›p¤˜"›˜zpam›˜s˜pm˜"˜’›"aV^›˜damF˜§a›^˜

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

9 L Y+95

p¦F˜›p˜zpam›˜¢

10 L X+95

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

11 CHF 10

pV"h˜4^"hOF˜§a›^˜dFmV›^˜s¬˜hh

12 L Y+5

pam›˜T9˜¢m=˜’›"aV^›˜damF˜Op˜4pmF˜:˜s’›˜’›"aV^›˜damF˜Op˜4pmF˜T

13 CHF 20

pV"h˜4^"hOF˜§a›^˜dFmV›^˜¢¬˜hh

14 L X+5

p¦F˜›p˜d"’›˜4pm›p¤˜zpam›˜s:˜’F4pm=˜’›"aV^›˜damF˜Op˜4pmF˜T

15 DEP LT LEN10 F1000

Fz"›˜›^F˜4pm›p¤˜pm˜"˜’›"aV^›˜damF˜§a›^˜›"mVFm›a"d˜4pmmF4›apm

16 L Z+250 R0 FMAX M2

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

17 END PGM LINEAR MM

X

Y

95

5

95

5

10

10

20

20

1

1

1

2

1

3

4