| Page 17 of 23 |
5.Configuring the FieldServer as a TIWAY Server
For a detailed discussion on FieldServer configuration, please refer to the FieldServer instruction Configuration mManual (Virtual PLC). The information that follows describes how to expand upon the factory defaults provided in the configuration files included with the FieldServer (See “.csv” files on the driver diskette).
This section documents and describes the parameters necessary for configuring the FieldServer to communicate with a TIWAY Client.
The configuration file tells the FieldServer about its interfaces, and the routing of data required. In order to enable the FieldServer for TIWAY 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.Server Side Connection Descriptors
| Section Title |
|
|
|
|
|
|
|
| Connections |
|
|
|
|
|
|
|
| Column Title |
|
| Function |
|
| Legal Values |
|
| Port |
|
| Specify which port the device is |
|
|
| |
|
|
| connected to the FieldServer |
|
|
| ||
|
|
|
|
|
|
|
| |
| Protocol |
|
| Specify protocol used |
| TIWAY, TIWAY_BDLC |
| |
| Baud* |
|
| Specify baud rate |
|
| 110 – 115200, standard |
|
|
|
|
|
| baud rates only |
| ||
|
|
|
|
|
|
|
| |
| Parity* |
|
| Specify parity |
|
| Even, Odd, None, Mark, |
|
|
|
|
|
| Space |
| ||
|
|
|
|
|
|
|
| |
| Data_Bits* |
|
| Specify data bits |
| 7, 8 |
| |
| Stop_Bits* |
|
| Specify stop bits |
| 1 |
| |
| Handshaking* |
| Specify hardware handshaking |
| RTS, RTS/CTS, None |
| ||
|
|
|
| Specifies time FieldServer will |
|
|
|
|
| Server_Hold_Timeout* |
|
| reserve server side connection |
|
| >1.0s |
|
|
|
| while waiting for the Client side |
|
|
| ||
|
|
|
| to update data in Data_Array (if |
|
|
|
|
|
|
|
| necessary) |
|
|
|
|
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com Tel: (408)