Page 35 of 58 |
Appendix A.14. Advanced Map Descriptor Example 5 - AckAll
Thisexampleillustratestheuseofthe‘AckAll’fu nction.EachtimethedriverusesthisMapDescript or,itchecksthedataintheData
Array.Ifonelocationisnonzerothentheappropr iateackmessageissenttothepanel.Asthefunc tioniswrbx,themessageisonly sentwhenthevalueisupdated.
The1stelementoftheDataArrayisusedtotrigge rtheackall
A | PrimaryAbnormalState |
|
|
|
| |||
F | Firealarm |
|
|
|
| |||
P | Priority2 |
|
|
|
| |||
S | Supervisory |
|
|
|
| |||
T | Trouble |
|
|
|
| |||
Setthearrayelementto1toinitiatethecommand. | TheFieldServerclearsthevalueoncompletion |
|
| |||||
|
|
|
|
|
|
|
| |
Map_Descriptor_Name, | Data_Array_Name, | Data_Array_Offset, | Function, | Node_Name, | sim4100_func, | Scan_Interval, | Length | |
AckAll_Mapdesc, | DA_ACKALL, | 0, |
| wrbx, | Node_A, | AckAll, | 1.0s, | 6 |
|
|
|
|
|
|
|
|
|
Appendix A.15. Advanced Map Descriptor Example 6 - Silence / Reset
Map_Descriptor_Name, | Data_Array_Name, | Data_Array_Offset, | Function, | Node_Name, | sim4100_func, | Scan_Interval, | Length |
Silence_Mapdesc, | DA_TRIGGERS, | 0, | Wrbx, | Node_A, | Silence, | 1.0s, | 6 |
Reset_Mapdesc, | DA_TRIGGERS, | 1, | Wrbx, | Node_A | Reset, | 1.0s | 6 |
|
|
|
|
|
|
|
|
Iflocation0goesnonzerothenasilence
Asthefunctioniswrbx,themessageisonlysentw henthevalueisupdated.messageissent.Iflocation1goesnonzero
thenaresetmessageisset.
Driver’ssetthetriggerbacktozerooncethe
messagehasbeenset.
Note:WhenconfiguredasaServer,thedriverincrements thevalueintheassociatedDAelementeachtimea silence/resetis received.
FieldServer Technologies1991TarobCourtMilpitas,California95035USA | Web:www.fieldserver.com | |||
Tel:(408)2622299 | Fax:(408)2622296 | Toll_Free:8885091970 | email:support@fieldserver.com |