Page 18 of 58 |
4.5.6.Map Descriptor Example 2. - Use unsolicited messages from the Panel to determine point status
ThisMapDescriptorcanbeusedtostorepointstat |
| usdatawhentheFieldServerreceivesanunsolicite | dmessagefromthePanel | ||||||||
containingpointstatusinformation(Xpointmessage | s).ThepanelsendsanXpointmessageeachtimea | point’sstatuschangesto | |||||||||
anynonnormalstate.UsingtheseMapDescriptors |
| willensurethattheFieldServerisconstantlyupda |
| tedwiththelatestpanelstatus | |||||||
information.TheMapDescriptor’sarepassivesot |
| heycanbeusedinajointstrategywiththeclist |
| function(section4.4.1)tokeep | |||||||
trackofapoint’sstatus.NotesinAppendixApro | videmoreinformation |
|
|
|
|
|
| ||||
OneXpointMapDescriptorisrequiredforstorageo |
| fXpointmessagesfromeachcard.Foragivencard |
| ,thedriverusesamapping | |||||||
functionbasedonthepointsubpointaddresstodet |
| erminethearraylocationtostorethestateforth | ecps. |
| |||||||
|
|
|
|
|
|
|
|
|
| ||
Map_Descriptor_Name, | Data_Array_Name, | Data_Array_Offset, | Function, | Node_Name, | sim4100_func, | sim4100_card, | sim4100_point, | sim4100_sub, | Length | ||
A1 | DA_AI3, | 0 |
| passive, | Node_A, | xpoint, | 1, | 0, |
| 10, | 1000 |
|
|
|
|
|
|
|
|
|
|
|
|
TheData |
|
| SimplexDevice:Card | WhenusedwithanXpointMapDescthisparameter |
| |
extractedfromthe |
|
| Allpointsubpointdata |
| ||
| Driverstores | means‘Howmanysubpointsperpoint?’ |
| |||
deviceisplacedin |
| forthiscardarestored |
| |||
Mustbepassive | datafrom | Ifthevalueis10thenthedriveruses10arraylo | cations | |||
thisdriver | usingthisMapDesc. | |||||
| unsolicited | foreachpoint.Thus |
| |||
independentdata |
|
|
| |||
| xpoint |
| Point0:Arraylocations09 |
| ||
array. |
|
|
| |||
| messages |
| Point1:Arraylocation1019 |
| ||
|
| Setthistozeroforxpoint |
| |||
|
|
| Point2:Arraylocations2029… |
| ||
|
|
| MapDesc. |
| ||
|
|
|
|
| ||
|
|
|
| ThusforthisMapDesc.IftheXpointmessageisfor | 110 | |
|
|
|
| thenthestatewillbestoredatlocation10. |
| |
|
|
|
| .IftheXpointmessageisfor125thenthestate | willbe | |
|
|
|
| storedatlocation25. |
|
FieldServer Technologies1991TarobCourtMilpitas,California95035USA | Web:www.fieldserver.com | |||
Tel:(408)2622299 | Fax:(408)2622296 | Toll_Free:8885091970 | email:support@fieldserver.com |