Page 41 of 58 |
Appendix A.20. Using Clist to
Fromversion1.05onthefunctionalityofthe‘clis t’MapDescriptor’shasbeenenhanced.
The‘Clist’MapDescriptorscan
•Readapoint’sstatus
•WritetoapointwhenaWriteThroughisactivated
•Storethepointstatuswhenan‘xpoint’unsolicite dmessageisreceivedfromthepanel.
AWriteThroughoccurswhenaDataArrayvaluethat isnormallyupdatedbyaread(rdbc) MapDescriptorisupdatedbysomeotherdriverorb yusingtheRuinetapplication.
Inthiscasetheupdatedvalueiswrittenthrought hereadMapDescriptorandtheSimplex 4100driverwritestheupdatedvaluetothepanel. Thevalueiswrittenonceonlyeachtime thattheDataArrayelementisupdatedexceptwhen thevalueisupdatedbytheresponseto
thereadorifthepointstatusisupdatedwhenan unsolicitedmessageisreceivedfromthe panel.
Ensurethat:
•Thepointisnotareadonlypoint
•ThePanel’saccesslevelhasbeensetappropriatel y.
Whenanunsolicitedmessageisreceivedfromthepa nelitwouldnormallybestoredusinga MapDescriptorwiththe‘xpoint’function.(Seesec tion4.5.6)However,ifyouarepollingforthe
status of that point using a ‘Clist’ Map Descriptor and if that Map Descriptor has ‘Store_Unsolicited’settoyesthenyoumustomitt he‘xpoint’MapDescriptorasthe‘Clist’Map Descriptorcanbeusedtostorethepointstatuswh enitisupdatedwithanunsolicitedmessage. IfyouhavebothMapDescriptor’sdefinedthenthe resultwillbeunpredictable.
AwritecommandcanbesenttoaSimplexpanelino neoftwoformats:
1)SETcpsON/OFF(default)
2)SETcpsvalue
Usethesim4100_WriteThruparameterintheCSVtoc hangetothe2ndformat.
Evenifyouarewritingtoananalogpseudopointu singformat1issuitablebecausebyenabling
thepointyouforceittotakeitsintrinsicvalue. Bysettingthepointoffyouaresettingitsvalue to zero.
FieldServer Technologies1991TarobCourtMilpitas,California95035USA | Web:www.fieldserver.com | |||
Tel:(408)2622299 | Fax:(408)2622296 | Toll_Free:8885091970 | email:support@fieldserver.com |