FieldServer FS-8700-112 FCI 7100 Series Manual page 17

Fci 7100 series serial driver
Hide thumbs Also See for FS-8700-112 FCI 7100 Series:
Table of Contents

Advertisement

FS-8700-112 FCI 7100 Series Driver Manual
Example:
The following fragment is part of a Map Descriptor definition; some parameters have been omitted for the purposes of clarity.
Map_Descriptors
Data_Array_Name,
Data_Array_Offset,
DA_MODU
,
0,
DA_MODU_A,
0,
DA_MODU_F,
0,
DA_MODU_T,
0,
DA_MPODU_O,
0,
Message = "FAULT:
AC Power
This message does not report the status of a Zone, Relay, Loop, Sensor or Module and is therefore assumed to be a panel
message. Since there is no MD with "Point Type" Panel, the message is ignored.
Message = "TROUBLE:
This message reports status for Loop 1 Module 22. Since all the MD's in the example have a 'Point Type'='Module', they are all
considered for storage.
The driver looks in the Event Table and finds it has an index value of 34 and a category of 4 (Trouble). Only the MD's with "Event
Type" set to "Any" and "Trouble" are now considered.
Since the value of the 'Relay/Loop/Zone' parameter matches the Loop number in the message, these MD's remain in contention.
The Module number of 22 is compared with the MD's Address and Length Parameters. The Address is the starting number and
the length defines the range. Both MD's have addresses of 1 and length of 99 and thus both are still selected because the
Module of 22 falls in this range.
The driver calculates an offset based on the offset specified in the MD and the Module number relative to the MD's address:
MD Offset = 0
MD Address = 1
Message Module = 22
Module 1's data is stored at offset 0 and hence Module 22's data will be stored at offset 21. The driver stores the value 34 at
offset 21 overwriting any data previously stored at that location. This is 'Index Value' Storage.
Seconday storage has been defined using the 'DA_Bit_Name' Data Array. The driver doubles the offset as two locations are used
for each address. Then the driver reads the value found in the Data_Array, modifies it and writes it back. As the index value is 34
the driver modifies the 34
Thus, driver calculates the offset for Bit Storage as 2 x 21 = 42. The driver sees that bit 34 is 2 2
driver reads DB_MODU:43, modifies the value by setting the 2nd bit on and then writing the modified value back. During the
modification all other bits are left intact. This using the Bit Storage method, a single Module (or sensor...) can keep track of
multiple events.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldserver.com
Event Type,
Point Type,
ANY,
Module,
ALARM,
Module,
FAULT,
Module,
TROUBLE,
Module,
OTHER,
Module,
7100
QZUb L1M22 << Chief's Office >>
th
bit – or expressed another way, the driver modifies the 2
Page 17 of 24
Relay/Loop/Zone Number,
Address,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0:00:04 1/01/92"
5:24:00 3/03/93"
nd
Length,
Clear_on_reset,
99,
Yes,
99,
Yes,
99,
Yes,
99,
Yes,
99,
Yes,
bit (34-32) at offset+1.
nd
bit in the next offset and so the
DA_Bit_Name
DB_MODU
DB_MODU_A
DB_MODU_F
DB_MODU_T
DB_MODU_O

Advertisement

Table of Contents
loading

Table of Contents