Map descriptor example: read data and keep history – FieldServer Kahl HCS-R User Manual
Page 10

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: [email protected]
5.5
Map Descriptor Example: Read Data and Keep History
This Map Descriptor allows the storage of data history. 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. Data will be shifted to
next Stage only on change.
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
The number of data
stages (data changes) to
be kept as history.