Page 10 of 32 |
5.Configuring the FieldServer as a Carrier DataPort Server
For a detailed discussion on FieldServer configuration, please refer to the FieldServer Configuration Manual. The information that follows describes how to expand upon the factory defaults provided in the configuration files included with the FieldServer (See “.csv” sample files provided with the FieldServer).
This section documents and describes the parameters necessary for configuring the FieldServer to communicate with a Carrier DataPort Client.
The FieldServer can be configured to emulate a Carrier DataPort Device. The user is able to define a variable quantity of variables. The FieldServer may be polled and will respond like a DataPort device.
The configuration file tells the FieldServer about its interfaces, and the routing of data required. In order to enable the FieldServer for Carrier DataPort communications, the driver independent FieldServer buffers need to be declared in the “Data Arrays” section, the FieldServer virtual node(s) needs to be declared in the “Server Side Nodes” section, and the data to be provided to the Clients needs to be mapped in the “Server Side Map Descriptors” section. Details on how to do this can be found below.
Note that in the tables, * indicates an optional parameter, with the bold legal value being the default.
5.1.Data Arrays
| Section Title |
|
|
|
|
|
|
| Data_Arrays |
|
|
|
|
|
|
| Column Title | Function |
|
| Legal Values |
| |
| Data_Array_Name | Provide name for Data Array | Up | to | 15 | alphanumeric |
|
| characters |
|
| ||||
|
|
|
|
| |||
|
| Provide data format. Each Data Array can | Float, |
| Bit, | Uint16, Sint16, |
|
| Data_Format | Packed_Bit, Byte, Packed_Byte, |
| ||||
|
| only take on one format. | Swapped_Byte |
|
| ||
|
|
|
|
| |||
|
| Number of Data Objects. Must be larger |
|
|
|
|
|
| Data_Array_Length | than the data storage area required for |
|
|
| ||
|
| the data being placed in this array. |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Example |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| // Data Arrays |
|
|
|
|
|
|
| // |
|
|
|
|
|
|
| Data_Arrays |
|
|
|
|
|
|
| Data_Array_Name, | Data_Format, | Data_Array_Length |
| |||
| DA_AI_01, | Uint16, | 200 |
|
|
|
|
| DA_AO_01, | Uint16, | 200 |
|
|
|
|
| DA_DI_01, | Bit, | 200 |
|
|
|
|
| DA_DO_01, | Bit, | 200 |
|
|
|
|
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: support@fieldserver.com