| Page 6 of 15 |
4.Configuring the FieldServer as an GPA Driver Client
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 GPA (General Purpose ASCII) Driver Server.
4.1.Data Arrays/Descriptors
The configuration file tells the FieldServer about its interfaces, and the routing of data required. In order to enable the FieldServer for GPA (General Purpose ASCII) Driver communications, the driver independent FieldServer buffers need to be declared in the “Data Arrays” section, the destination device addresses need to be declared in the “Client Side Nodes” section, and the data required from the servers needs to be mapped in the “Client 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.
| Section Title |
|
|
|
|
|
|
| Data_Arrays |
|
|
|
|
|
|
| Column Title |
| Function |
|
| Legal Values | |
| Data_Array_Name | Provide name for Data Array |
|
| Up to 15 | alphanumeric | |
|
|
| characters |
| |||
|
|
|
|
|
|
| |
|
|
|
|
|
| Float, Bit, UInt16, SInt16, | |
| Data_Array_Format |
| Provide data format. Each | Data |
| Packed_Bit, | Byte, |
|
| Array can only take on one format. |
| Packed_Byte, | |||
|
|
|
| ||||
|
|
|
|
|
| Swapped_Byte | |
|
|
| Number of Data Objects. Must be |
|
|
| |
| Data_Array_Length |
| larger than the data storage | area |
| ||
|
|
| required by the Map Descriptors for |
|
|
| |
|
|
| the data being placed in this array. |
|
|
| |
| Example |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| // Data Arrays |
|
|
|
|
|
|
| Data_Arrays |
|
|
|
|
|
|
| Data_Array_Name, |
| Data_Array_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)