Map descriptor example 4 – all devices, S 5.4.9 a – Sierra Monitor Company FS-8700-48 User Manual
Page 17

FS-8700-48 Fike Cheetah Manual
Page 18 of 37
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
5.4.9 Map Descriptor Example 4 – All Devices
In this example separate Map Descriptors are provided to store the Pre-Alarm, Alarm and Trouble States of all devices on loops 1 and 2.
// Client Side Map Descriptors
Map Descriptors
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name , Cheet_Zone , Cheeet_Loop , Cheet_Device Cheet_DT , Length
CHEETAH11
, DEV_L1_PREALMS , 0
, Passive , Panel_01
, None
, 1
, All
, Pre-Alarm , 256
CHEETAH12
, DEV_L1_ALARM
, 0
, Passive , Panel_01
, None
, 1
, All
, Alarm
, 256
CHEETAH13
, DEV_L1_TRBLS
, 0
, Passive , Panel_01
, None
, 1
, All
, Trouble
, 256
CHEETAH14
, DEV_L2_PREALMS , 0
, Passive , Panel_01
, None
, 2
, All
, Pre-Alarm , 256
CHEETAH15
, DEV_L2_ALARM
, 0
, Passive , Panel_01
, None
, 2
, All
, Alarm
, 256
CHEETAH16
, DEV_L2_TRBLS
, 0
, Passive , Panel_01
, None
, 2
, All
, Trouble
, 256
A different array is used for each state.
Another strategy could have been to
use the same array but vary the offset.
The Data Type describes which Map
Descriptor to use for each device state’s
storage. If the device state doesn’t match
one of these data types then the message
will be ignored.
Additional Map
Descriptors are required
for each loop.
When storing
device data, the
Cheet_Zone must
be set to None.