![](/images/new-backgrounds/1147467/14746719x1.webp)
| 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)