Page 16 of 51 |
5.Configuring the FieldServer as a Metasys N2 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” files on the driver diskette).
This section documents and describes the parameters necessary for configuring the FieldServer to communicate with a Metasys N2Open Client. Note that only the N2Open variation of the N2 protocol may be used when configuring the FieldServer as a Server.
The configuration file tells the FieldServer about its interfaces, and the routing of data required. In order to enable the FieldServer for Metasys N2 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 | Metasys_N2 | |
Baud* | Specify baud rate | 9600 | |
Parity* | Specify parity | None | |
Data_Bits* | Specify data bits | 8 | |
Stop_Bits* | Specify stop bits | 1 | |
|
| ||
Handshaking* | Specify hardware handshaking | None | |
Poll _Delay* | Time between internal polls | 0 | |
Line_Drive_On* | Duration of RTS assert before | 0.001s | |
start of transmission | |||
|
| ||
Line_Drive_Off* | Duration of RTS assert after | 0.000s | |
end of transmission | |||
| |||
|
| ||
Example |
|
|
//Server Side Connections
Connections
Port, | Protocol |
P8, | Metasys_N2 |
4Not all ports shown are necessarily supported by the hardware. Consult the appropriate Instruction manual for details of the ports available on specific hardware.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com Tel: (408)