Loading...
Modbus TCP/IP Driver Manual
Page 11 of 23
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 and bold legal values are default.
6.1 Server Side Connection Parameters
Section Title
Connections
Column Title
Function
Legal Values
Adapter
Specify which adapter this protocol uses.
N1-N2, WLAN9
IP_Port
Specify internet protocol Port.
1-65534
Protocol
Specify protocol used.
Modbus/TCP
Framing_Timeout*
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.
0 (disabled), 1 - 100
milliseconds, 100
Max_Sessions*
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.
1-65534, 20
Inactivity_Timeout*
Specify the connection inactivity timeout in
seconds. The FieldServer will close the
connection opened by the client if there is no
activity for this time period.
0 4294967, 60
Accept_Broadcast*
Specify server to accept broadcast messages.
Yes, No
Multiple_Server_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.
Yes, No
Example
// Client Side Connections
Connections
Adapter
, Protocol
N1
, Modbus/TCP
9 Not all ports shown are necessarily supported by the hardware. Consult the appropriate Instruction manual for details of the ports
available on specific hardware.
Loading...
Terms of Use | Privacy Policy | DMCA Policy
2006-2020 Rsmanuals.com