beautypg.com

6 pr ogr amming examples, Example: milling a contour in several infeeds – HEIDENHAIN TNC 320 (340 551-01) User Manual

Page 306

background image

306

n˜pV"hhamV9˜¤*zpV"h’˜"m=˜pV"h˜F4›apm˜FzF"›’

9.6 Pr

ogr

amming Examples

Example: Milling a contour in several infeeds

pV"h˜’F„¤Fm4F

„

F_zp’a›apm˜›^F˜›ppd˜›p˜›^F˜§pczaF4F˜’¤O"4F

„

m›F˜›^F˜amOFF=˜=Fz›^˜am˜am4FhFm›"d˜¦"d¤F’

„

pm›p¤˜haddamV

„

FzF"›˜=p§mOFF=˜"m=˜4pm›p¤_haddamV

0 BEGIN PGM PGMWDH MM

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

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

3 TOOL DEF 1 L+0 R+10

FOamF˜›^F˜›ppd

4 TOOL CALL 1 Z S500

ppd˜4"dd

5 L Z+250 R0 FMAX

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

6 L X-20 Y+30 R0 FMAX

F_zp’a›apm˜am˜›^F˜§pcamV˜zd"mF

7 L Z+0 R0 FMAX M3

F_zp’a›apm˜›p˜›^F˜§pczaF4F˜’¤O"4F

X

Y

100

100

20

75

30

50

20

75

R15

R18

R15