Map descriptor example: read data – FieldServer Kahl HCS-R User Manual
Page 9

FS-8700-127 Hanning & Kahl HCS-R Manual
Page 9 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.4
Map Descriptor Example: Read Data
RDBC Map Descriptors are used to poll for data, Passive_Client Map Descriptors are used to store the data for various loops. Refer to Appendix A.1 for data
storage format.
Map_Descriptors
Map_Descriptor_Name
, Data_Array_Name
, Data_Array_Offset
, Function
, Node_name
, Length
, Scan_Interval
CMD_DI_HCSR_01
, DA_CURRENT
, 0
, RDBC
, Node_A
, 22
, 5
Map_Descriptors
Map_Descriptor_Name
Data_Array_Name
Data_Array_Offset
Function
Node_name
Length
HCSR_Onfrom
HCSR_Loop
CMD_FromLoop_01
DI_FromLoop01
0
Passive_Client
Node_A
21
From
1
CMD_OnLoop_01
DI_OnLoop01
0
Passive_Client
Node_A
21
On
1
CMD_FromLoop_02
DI_FromLoop02
0
Passive_Client
Node_A
21
From
2
CMD_OnLoop_02
DI_OnLoop02
0
Passive_Client
Node_A
21
On
2
CMD_FromLoop_03
DI_FromLoop03
0
Passive_Client
Node_A
21
From
3
CMD_OnLoop_03
DI_OnLoop03
0
Passive_Client
Node_A
21
On
3
CMD_FromLoop_4
DI_FromLoop04
0
Passive_Client
Node_A
21
From
4
CMD_OnLoop_04
DI_OnLoop04
0
Passive_Client
Node_A
21
On
4
The CMD_DI Map Descriptor polls
HCS-R Node_A every 5 seconds.
Function must be RDBC to
enable polling.
Data Array name
defined in
Section 4
Starting offset
in Data Array to
hold data
Maximum number of
placeholders for data storage.
Passive_Client Map
Descriptors are used to
store data returned by
response.