4 p a th cont ours—car te sian coor dinat e s – HEIDENHAIN TNC 320 (340 551-01) User Manual
Page 132
132
pV"hhamV9pV"hhamV pmp¤
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"mcOphOpV"z^a4§pczaF4Fah¤d"apm
2 BLK FORM 0.2 X+100 Y+100 Z+0
3 TOOL DEF 1 L+0 R+10
FOamFppdam^FzpV"h
4 TOOL CALL 1 Z S4000
"ddppdam^Fzam=dF"¨a"m=§a^^Fzam=dFzFF=
5 L Z+250 R0 FMAX
F"4ppdam^Fzam=dF"¨a""za="¦FF
6 L X-10 Y-10 R0 FMAX
F_zpaapm^Fppd
7 L Z-5 R0 F1000 M3
p¦Fp§pcamV=Fz^"OFF="F Ks¬¬¬hhham
8 APPR LT X+5 X+5 LEN10 RL F300
zzp"4^^F4pmp¤"zpamspm""aV^damF§a^
"mVFma"d4pmmF4apm
9 L Y+95
p¦Fpzpam¢
10 L X+95
pam9Oa"aV^damFOp4pmF
11 CHF 10
pV"h4^"hOF§a^dFmV^s¬hh
12 L Y+5
pamT9¢m="aV^damFOp4pmF:s"aV^damFOp4pmFT
13 CHF 20
pV"h4^"hOF§a^dFmV^¢¬hh
14 L X+5
p¦Fpd"4pmp¤zpams:F4pm="aV^damFOp4pmFT
15 DEP LT LEN10 F1000
Fz"^F4pmp¤pm""aV^damF§a^"mVFma"d4pmmF4apm
16 L Z+250 R0 FMAX M2
F"4am^Fppd"¨a:Fm=zpV"h
17 END PGM LINEAR MM
X
Y
95
5
95
5
10
10
20
20
1
1
1
2
1
3
4