XML over HTTP Driver Manual
Page 10 of 19
5.3.3 Timing Parameters
Column Title Function
Legal Values
Scan_Interval Rate at which data is polled.
≥0.001s
5.3.4 Special Keywords for URL and W rite_Command
Parameter
Description
<DATA_ARRAY_NAME.OFFSET>
Substitute entry with value as float from matching data array and
offset.
<DATA_ARRAY_NAME.OFFSET.C>
Substitute entry with value as ASCII character from matching
data array and offset. Useful for embedding special characters
like < > or " etc.
<local>
Substitute value with Map descriptors first data array entry, or
data offset from match cache block write.
<offset>
Used for passive map descriptors to indicate which offset
changed when the cache block gets created.
5.4
Map Descriptor Examples
// Client Side Map Descriptors
Map_Descriptors
Map_Descriptor_Name
, Function
, Data_Array_Name
, Data_Array_Index
, Node_Name
, Length
CMD_DA_GET1
, RDBC
, DA_HTTP_STR1
, 0
, FS_WEB_01
, 500
, Scan_Interval
, XML-URL
, Method
, 0
, DATA_ARRAYS.XML , GET
Map_Descriptors
Map_Descriptor_Name
, Function
, Data_Array_Name
, Data_Array_Index
, Node_Name
CMD_RD_UINT16
, PASSIVE_CLIENT
, DA_UINT16
, 0
, FS_WEB_01
, Length
, Linked_Map_Descriptor
, 100
,CMD_DA_GET1
Map_Descriptors
Map_Descriptor_Name
, Element
, Search_Value
, Search_Attribute
CMD_RD_UINT16
, DATA_ARRAYS.DATA_ARRAY.DATA
, DA_AI_01
, name
, Method
, XML-URL
, Write_Command
, POST
, post.cgi
, DA_UINT16.<offset>=<local>
// Write section
Map_Descriptors
Map_Descriptor_Name , Function
, Data_Array_Name
, Data_Array_Index
, Node_Name
, Length
, Scan_Interval
CMD_WR_UINT16a , WRBC , DA_UINT16_WR
, 0
, FS_WEB_01 , 10
, 2s
...
, Method
, XML-URL , Write_Command
...
, POST
, post.cgi
, "DA_UINT16.0=<DA_UINT16_WR.0>&DA_UINT16.1=<DA_UINT16_WR.1>"
URL and payload of a regular POST command
generated by the FieldServer.
Linked Map Descriptors are also
where the XML request is stored.
Primary read map descriptor with URL. And
method is a GET. HTTP response is stored to the
data array. This is mainly for diagnostic purposes.
XML Element to store, search value to
match on, and XML attribute to match.
If the data changes, do a POST to the following URL with the payload.