6
CONFIGURING THE FIELDSERVER AS A MODBUS TCP/IP SERVER
For detailed information on FieldServer configuration, 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 Modbus TCP/IP Client.
The configuration file tells the FieldServer about its interfaces, and the routing of data required. In order to
enable the FieldServer for Modbus TCP/IP communications the following three actions must be taken.
The driver independent FieldServer buffers need to be declared in the "Data Arrays" section. The
FieldServer virtual Node(s) need to be declared in the "Server Side Nodes" section. And the data to be
provided to the client(s) needs to be mapped in the "Server Side Map Descriptors" section. Details on
how to perform these steps can be found in the following sections.
NOTE: In the following tables, * indicates an optional parameter with the bold legal value as the default.
6.1
Server Side Connection Parameters
Section Title
Connections
Column Title
Adapter
IP_Port
Protocol
Framing_Timeout*
Max_Sessions*
Inactivity_Timeout*
Accept_Broadcast*
Multiple_Server_Messages*
Example
//
Client Side Connections
Connections
Adapter
, Protocol
N1
, Modbus/TCP
Function
Specify which adapter this protocol uses.
Specify internet protocol Port.
Specify protocol used.
Sets the time to wait for a message frame to
complete on the network. This is useful on busy
Modbus networks where unknown messages for
other devices may cause longer timeouts.
The maximum sessions that will be accepted by
the server side. Any connection requests after
the number of open sessions reaches this
number will result in the session that was last
active being closed.
Specify the connection inactivity timeout in
seconds.
The
FieldServer
connection opened by the client if there is no
activity for this time period.
Specify server to accept broadcast messages.
Enable or disable the ability to parse multiple
messages in a stream. Selecting "No" will only
parse the first message and discard the rest.
Page 12 of 23
Modbus TCP/IP Driver Manual
Legal Values
N1
1-65534
Modbus/TCP
0 (disabled), 1 - 100
milliseconds, 100
1-65534, 20
will
close
the
0 – 4294967, 60
Yes, No
Yes, No
Need help?
Do you have a question about the FieldServer and is the answer not in the manual?