Crestron CNX-BF12 Specifikace Strana 69

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 100
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 68
EssentialsofCrestronProgramming
69
TheInterlocksymbolwilllatchanoutputhighontherisingedgeofitscorresponding
input.Inaddition,anyotheroutputsignalthatwaspreviouslyhighwillbelatchedoff.
Thusthissymbolwillhaveatmostoneoutputhighatanygiventime.Thispropertyis
calledbreakbeforemake.Inesse
nce,thissymbolwillrememberwhichinputwaslast
drivenhigh,makingitveryhandywhentheuserhastoselectfromanumberofchoices.
IntheVirtualPresentationRoomprogramthissignifiesthatwhentheuserpressesthe
ScreenUpbutton,thiswilltriggertheScreenUpinputoftheinterlocksymbol,latching
theScreen_Up_FBoutputhigh.Sincethisoutputisthedrivingsourceofthe<fb21>
inputofthetouchpanel,thebuttonwillshowactivefeedbackforaslongastheScreen
Upinterlockislatchedhi
gh.
Similarly,whentheuserpressestheScreenDownbutton,thi
swilltriggertheScreen
DowninputoftheInterlocksymbol,latchingthecorrespondingoutputhigh,and
activatingthecorrespondingbuttonfeedback.
NotethatinthisexampletheoutputsignalsoftheInterlocksymbolarebeingusedfor
feedbackonly,andarenotbeingroutedtotheC2Icardtoopenandclosetherelays.
ThisisbecausetheoutputsoftheInterlockarelatched,anditisgenerallyconsidered
poorprogrammingtodrivemomentaryfunctions(suchasarelaycommand)witha
latchingsignal,eventhoughinsomecasesitmaywork corr
ectly.Sincewehave
momentarysignalsalreadyontheinputsideofthesymbol,itis“cleaner”tousetheseto
drivetherelays.
WehaveseenhowtheIn
terlockandTogglesymbolsareeventdriven; thatis,whenan
event(arisingedgetransition,forexample)occursthesymboldrivesitsoutputsignals
totheappropriatelevels.Sometimesthisisnotsufficient,however,andyouneedto
controlwhenthingswillhappen.Inthecaseofrelaycontrols,thecontrolledscreenne
eds
tobeassertedforaperiodoftime,asspecifiedbythemanufacturer.TheOneShot
symbolallowsthistypeoftimebasedcontrol.
Zobrazit stránku 68
1 2 ... 64 65 66 67 68 69 70 71 72 73 74 ... 99 100

Komentáře k této Příručce

Žádné komentáře