Accton Technology FS-8700-48 Server User Manual


 
FS-8700-48 Fike Cheetah Manual Page 19 of 36
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
4.5.5. Map Descriptor Example 5 (Specific Device)
This example shows how you can define a Map Descriptor for the storage of the state of one specific device. (Device 20 in this
example)
// Server side Map Descriptors
Map Descriptors
Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Node_name, Cheet_Zone, Cheet_DT, Cheet_Device, Cheet_Loop
Device20_L1_Alm, DA_DI1, 20, Passive, Node_A, None, Alarm, 20, 1
You can give each Map
Descriptor a unique name or
as in this example, leave
them with a generic name
describing the action they
perform.
Each Map Descriptor in this example
reads data for one device only. Thus
each Map Descriptor must point to a
different Data Array or as is the case in
this example, to a different location in
the same Data Array.
They are passive
because this driver
is a data consumer.
We are storing device
data so the
Cheet_Zone must be
set to None.
Even though the driver is node
independent, Node_A ties this Map
Descriptor to a Node Descriptor which thus
connects the Map Descriptor to a protocol
and to a port.
The alarm state is
being stored.
The Device
number is 20.
The device
belongs to loop1