beautypg.com

4 separate program as subprogram, Operating sequence, Programming notes – HEIDENHAIN TNC 320 (340 551-01) User Manual

Page 301

background image

˜ ˜¢¬

301

9.4 Separ

a

te

Pr

ogr

a

m as Subpr

ogr

am

9.4 Separate Program as

Subprogram

Operating sequence

1

^F˜ ˜F¨F4¤›F’˜›^F˜z"›˜zpV"h˜¤z˜›p˜›^F˜*dp4c˜am˜§^a4^˜

"mp›^F˜zpV"h˜a’˜4"ddF=˜§a›^˜

˜

2

^Fm˜›^F˜p›^F˜zpV"h˜a’˜¤m˜Oph˜*FVammamV˜›p˜Fm=

3

^F˜ ˜›^Fm˜F’¤hF’˜›^F˜Oa’›˜|4"ddamV}˜z"›˜zpV"h˜§a›^˜›^F˜

*dp4c˜*F^am=˜›^F˜zpV"h˜4"dd

Programming notes

„

p˜d"*Fd’˜"F˜mFF=F=˜›p˜4"dd˜"m©˜zpV"h˜"’˜"˜’¤*zpV"h

„

^F˜4"ddF=˜zpV"h˜h¤’›˜mp›˜4pm›"am˜›^F˜ha’4Fdd"mFp¤’˜O¤m4›apm’˜

¬¢˜p˜¬

„

^F˜4"ddF=˜zpV"h˜h¤’›˜mp›˜4pm›"am˜"˜CALL PGM˜4"dd˜am›p˜›^F˜4"ddamV˜

zpV"h:˜p›^F§a’F˜"m˜amOama›F˜dppz˜§add˜F’¤d›

0 BEGIN PGM A

CALL PGM B

END PGM A

0 BEGIN PGM B

END PGM B