Sierra Monitor Company FS-8700-48 User Manual

Page 16

Advertising
background image

FS-8700-48 Fike Cheetah Manual

Page 17 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.8 Map Descriptor Example 3 – Zone Status as a numeric value

In this example, the driver stores zone data for any zone. It will store data for all possible states that the panel reports for each of the zones in the form of a
number in the Data Array. The number can be interpreted to determine which states are active.

// 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
CHEETAH10

, ZONE_STATES

, 0

, Passive , Panel_01

, All

, None

, None

, Any

, 256






















This data type tells the driver that this Map Descriptor must be used to
store zone status data of any type.
The driver writes a number into the array location for each device. The
value of the number indicates the status of the zone. The value is
based on which bits in the binary number are set.
Bit 0: Abort State
Bit 1: Trouble State
Bit 2: Supervisory State
Bit 3: Zone is disabled
Bit 4: Pre Alarm State
Bit 5: Alarm State
Bit 6: Pre-Discharge State
Bit 7: Release State
Bit 8: Process State
Example : Value = 32 indicates an alarm state
Example : Value = 96 indicates an alarm & pre-discharge state

For the driver to effectively report the
status as a number the Data Array format
must be suitable for storing the number.
UINT16, UINT32 and FLOAT formats are
supported.

Advertising