Map descriptor example 2 – polling – FieldServer FS-8700-115 User Manual
Page 10
![background image](/manuals/101006/10/background.png)
FS-8700-115 ASCII Driver (General Purpose)
Page 10 of 13
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 2 – Polling
In this example, we provide a Map Descriptor to send a poll to a remote device. The Map_Descriptor will send ten characters from the Data_Array DA_Poll.
This Data Array could be preloaded in the configuration file or its contents could be changed by other protocols. This Map Descriptor is used to send data only,
no data is stored by this Map Descriptor.
Map_Descriptors
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name , Scan_Interval , Length Poll_Msgs
MD_Poll
, DA_Poll
, 0
, Rdbc
, Node_A
, 5s
, 10
, 3
Map Descriptor
names do not need
to be unique but
unique names may
facilitate trouble
shooting.
The name of the
Data Array from
where the polling
data is extracted.
The 1
st
character of
polling data will be
extracted from this
position in the
Data_Array. Subsequent
data will be extracted
from consecutive
locations.
The Driver will send this
poll continuously at time
intervals specified by the
scan interval.
Specifies the time
interval at which
the driver should
issue the poll.
A maximum of
10 characters will
be sent to the
remote device. .
The Driver will
send the poll
message three
times.