beautypg.com

6 pr ogr amming examples – HEIDENHAIN TNC 320 (340 551-01) User Manual

Page 307

background image

˜ ˜¢¬

307

9.6 Pr

ogr

amming Examples

8 LBL 1

F›˜d"*Fd˜Op˜zpV"h˜’F4›apm˜FzF"›

9 L IZ-4 R0 FMAX

mOFF=˜=Fz›^˜am˜am4FhFm›"d˜¦"d¤F’˜|am˜’z"4F}

10 APPR CT X+2 Y+30 CCA90 R+5 RL F250

zzp"4^˜›p˜›^F˜4pm›p¤

11 FC DR- R18 CLSD+ CCX+20 CCY+30

pm›p¤

12 FLT

13 FCT DR- R15 CCX+50 CCY+75

14 FLT

15 FCT DR- R15 CCX+75 CCY+20

16 FLT

17 FCT DR- R18 CLSD- CCX+20 CCY+30

18 DEP CT CCA90 R+5 F1000

Fz"›˜›^F˜4pm›p¤

19 L X-20 Y+0 R0 FMAX

F›"4›˜›ppd

20 CALL LBL 1 REP 4

F›¤m˜b¤hz˜›p˜ ˜s”˜’F4›apm˜a’˜FzF"›F=˜"˜›p›"d˜pO˜T˜›ahF’

21 L Z+250 R0 FMAX M2

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

22 END PGM PGMWDH MM