Map Descriptor Example 2 - Bit Storage - FieldServer FS-8700-112 FCI 7100 Series Manual

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
4.6.
Map Descriptor Example 2 – Bit Storage
This example defines storage location for Relay Point events. The example would work for all other point types. In the example, both
primary and secondary storage Data Arrays have been specified. The driver stores index values in the primary array. Each new
event for a particular relay will overwrite the value stored previously. In the Bit Array, the driver sets the bit corresponding to the
event, leaving other bits unchanged – thus the 2ndary storage can be used to determine if more than one event is active at a time.
//
Client Side Map Descriptors
Map_Descriptors
Map_Descriptor_Name,
Data_Array_Name,
RelayData,
DA_RELAY,
Data_Array_Name is where the primary DA is specified. Index values are
stored here.
DA_Bit_Name is where secondary storage is defined. Events are stored
by setting appropriate bits.
Remember that 2 elements per Relay, Module, Sensor, Loop are used.
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
Data_Array_Offset,
DA_Bit_Name,
Function,
0,
DB_Relay,
Passive_Client,
Page 13 of 24
Event
Point
Relay/Loop/Zone
Node_Name,
Type,
Type,
Number,
Panel-01,
Any,
Relay,
1,
MD's for storing Relay,
Loop, Zone and Panel
do not need the address
specified.
Address,
Length,
Clear_on_reset
-,
4,
Yes

Advertisement

Table of Contents
loading

Table of Contents