beautypg.com

3 program section repeats, Label lbl, Operating sequence – HEIDENHAIN TNC 320 (340 551-01) User Manual

Page 300: Programming notes, Programming a program section repeat, Calling a program section repeat

background image

300

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

9.3 Pr

ogr

a

m Section Repeats

9.3 Program Section Repeats

Label LBL

^F˜*FVammamV˜pO˜"˜zpV"h˜’F4›apm˜FzF"›˜a’˜h"cF=˜*©˜›^F˜d"*Fd˜ ˜

^F˜Fm=˜pO˜"˜zpV"h˜’F4›apm˜FzF"›˜a’˜a=Fm›aOaF=˜*©˜

˜ ˜— ˜

Operating sequence

1

^F˜ ˜F¨F4¤›F’˜›^F˜z"›˜zpV"h˜¤z˜›p˜›^F˜Fm=˜pO˜›^F˜zpV"h˜

’F4›apm˜|

˜ ˜— }

2

^Fm˜›^F˜zpV"h˜’F4›apm˜*F›§FFm˜›^F˜4"ddF=˜ ˜"m=˜›^F˜d"*Fd˜

4"dd˜a’˜FzF"›F=˜›^F˜m¤h*F˜pO˜›ahF’˜Fm›FF=˜"O›F˜ 

3

^F˜ ˜›^Fm˜F’¤hF’˜›^F˜z"›˜zpV"h˜"O›F˜›^F˜d"’›˜FzF›a›apm

Programming notes

„

p¤˜4"m˜FzF"›˜"˜zpV"h˜’F4›apm˜¤z˜›p˜–Q˜QT˜›ahF’˜am˜’¤44F’’apm

„

^F˜›p›"d˜m¤h*F˜pO˜›ahF’˜›^F˜zpV"h˜’F4›apm˜a’˜F¨F4¤›F=˜a’˜"d§"©’˜

pmF˜hpF˜›^"m˜›^F˜zpV"hhF=˜m¤h*F˜pO˜FzF"›’

Programming a program section repeat

8

p˜h"c˜›^F˜*FVammamV:˜zF’’˜›^F˜ ˜ ˜cF©˜"m=˜

Fm›F˜"˜

˜ ˜Op˜›^F˜zpV"h˜’F4›apm˜©p¤˜

§a’^˜›p˜FzF"›˜O˜©p¤˜§"m›˜›p˜¤’F˜"˜d"*Fd˜m"hF:˜zF’’˜

›^F˜cF©˜Š˜›p˜’§a›4^˜›p˜›F¨›˜Fm›©

8

m›F˜›^F˜zpV"h˜’F4›apm

Calling a program section repeat

8

F’’˜›^F˜ ˜ ˜cF©˜"m=˜Fm›F˜›^F˜d"*Fd˜m¤h*F˜pO˜

›^F˜zpV"h˜’F4›apm˜©p¤˜§"m›˜›p˜FzF"›˜"’˜§Fdd˜"’˜›^F˜

m¤h*F˜pO˜FzF"›’˜|§a›^˜FzF"›˜ }

0 BEGIN PGM ...

LBL1

CALL LBL 1 REP2

END PGM ...