FieldServer FS-8700-101 Map Descriptor Example #1 Read Pressure, Dapressure Rdbc

Page 10

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

Page 10 of 23

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

Unique names

The name of a

The 1st location

assist config file

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

Tells

the

driver

to schedule this

to

read

the

MD

no

more

current

 

often

than 5

pressure

 

seconds.

 

measurement

 

 

 

from the Gage

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

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

Image 10
Contents FS-8700-101 Setra Digital Pressure Gage Model Table of Contents FS-8700-101Setra Model 370 Digital Pressure Gage Manual Comments ModeSetra Model 370 Digital Pressure Gage Description Max Nodes Supported FieldServerFieldServer Technologies Description FS-8917-01 Required 3rd Party ConfigurationFS-8700-101 Driver Manual Hardware Connections O O O O O O O O O O O Hardware Connection Tips / HintsO O O O O O O O O O Column Title Function Legal Values Data Arrays/DescriptorsSection Title ExampleClient Side Connection Descriptors Client Side Node DescriptorsDriver Related Map Descriptor Parameters Timing ParametersMap Descriptor Example #1 Read Pressure Dapressure RdbcMap Descriptor Example #2 Read Status Dastatus RdbcMap Descriptor Example #3 Verify Daverify RdbcServer Side Connection Descriptors Server Side Node Descriptors Driver Specific Map Descriptor Parameters Server Map Descriptor Example DapressureOffset where x is the offset Specified in the MD Appendix A.1.2. Status DataAppendix A.3. Driver Limitations & Exclusions Command CodeAppendix A.2. Gage Pressure Units Index # MeaningFS-8700-101Setra Model 370 Digital Pressure Gage Manual Appendix C. Driver Error Messages MessageAppendix C.1. Exposing Driver Diagnostic Statistics Data Array Offset ContentsAppendix C.2. Standard Driver Stats Driver Statistics Recorded ExplanationThis page Intentionally Left Blank