FieldServer HCS-R Computer Drive User Manual


 
FS-8700-127 Hanning & Kahl HCS-R Manual Page 10 of 17
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: support@FieldServer.com
4.6. Map Descriptor Example: Read Data and Keep History
This Map Descriptor allows the storage of data history up to HCSR_Data_Stages. Data will be shifted to next Stage only if the data
is changed. The driver divides the Data Array into sections corresponding to the number of HCSR_Data_Stages. Current data
(stage1) will be stored in the first section and oldest (last stage) data will be stored in the last section in the Data array.
Map_Descriptors
Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Node_name Length Scan_Interval, HCSR_Data_Stages
CMD_DI_HCSR_01, DA_CURRENT, 0, RDBC, Node_A, 72, 5, 3
Map_Descriptors
Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Node_name Length HCSR_Onfrom HCSR_Loop HCSR_Data_Stages
CMD_FromLoop_01, DI_FromLoop01, 0, Passive_Client, Node_A, 63, From 1 3
CMD_OnLoop_01, DI_OnLoop01, 0, Passive_Client, Node_A, 63, On 1 3
CMD_FromLoop_02, DI_FromLoop02, 0, Passive_Client, Node_A, 63, From 2 3
CMD_OnLoop_02, DI_OnLoop02, 0, Passive_Client, Node_A, 63, On 2 3
CMD_FromLoop_03, DI_FromLoop03, 0, Passive_Client, Node_A, 63, From 3 3
CMD_OnLoop_03, DI_OnLoop03, 0, Passive_Client, Node_A, 63, On 3 3
CMD_FromLoop_4, DI_FromLoop04, 0, Passive_Client, Node_A, 63, From 4 3
CMD_OnLoop_04, DI_OnLoop04,, 0, Passive_Client, Node_A, 63, On 4 3
Name one of
the Data Array
defined in
Data_Array
section to store
data
Starting offset
in Data Array
to hold data
One of the
Nodes declared
in Client Node
Section. This
Node will be
polled if
Function is
RDBC
How often (in
seconds) to poll
target device.
Irrelevant if
Function is
Passive_Client
Maximum
number of
placeholders for
data storage.
RDBC will cause read poll
and Passive_Client is used
to store data returned by
response.
The number of
data stages
(data changes)
to be kept as
history.