beautypg.com

FieldServer FS-8700-101 User Manual

Page 10

background image

FS-8700-101_Setra Model 370 Digital Pressure Gage Manual

Page 10 of 23


FieldServer Technologies

1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

Tel

: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: [email protected]

4.4.4.

Map Descriptor Example #1 – Read Pressure.

In this example a Map Descriptor is defined which controls the task of reading pressure data from the Setra Model 370 Digital
Pressure Gage. The task gets performed every 5.0 seconds. When a response is received the data is stored in the Data Array
called DA_PRESSURE stating at element zero (the offset). Each pressure reading requires the driver store 5 parameters and hence
the length of the Map Descriptor is 5. Refer to Appendix A for further information.

Map_Descriptor_Name,

Data_Array_Name, Data_Array_Offset, Function, Node_Name, Gage_Function, Length, Scan_Interval

Read_Press,

DA_PRESSURE,

0,

RDBC,

Gage1,

Pressure,

5,

5.0s


Reserves 5
elements of the
Data Array to
store response
data.

Unique names
assist config file
validation
debugging but
are not
necessary.

The name of a
Data Array in
which the
response data
will be stored

.

The 1

st

location

in the Data
Array which will
be used for
storage.

The name of a Node
defined in the CSV file.
The node name connect
the MD to a node which
in turn points to a
connection Thus the
driver knows what port
and port settings to use
to send the poll..

Tells the driver
to read the
current
pressure
measurement
from the Gage

Tells the driver
to schedule this
MD no more
often than 5
seconds.