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

Page 11 of 23

4.4.5.Map Descriptor Example #2 – Read Status

In this example a Map Descriptor is defined which controls the task of reading status 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_STATUS stating at element zero (the offset). Each pressure status reading requires the driver store 20 parameters and hence the length of the Map Descriptor is 20. 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_Status,

DA_STATUS,

0,

RDBC,

Gage1,

Status ,

20,

5.0s

Unique names

 

 

 

 

 

assist config file

The name of a

The 1st location

validation

 

Data Array in

in

the

Data

debugging

but

which

the

Array which will

are

not

response

data

be

used

for

necessary.

 

will be stored.

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 status from the Gage

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

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

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: support@fieldServer.com

Page 11
Image 11
FieldServer FS-8700-101 instruction manual Map Descriptor Example #2 Read Status, Dastatus Rdbc