Tab: Modbus TCP Server – General
The tab contains the basic settings for network communication in the network.
Server IP address | |
Response Timeout (ms) | Time interval for the client to wait for the response from this server. It is configured especially for this server node and overwrites the general response timeout setting of the respective client. |
Port | Port number (TCP/IP) of the server. Port 502 is the default for Modbus |
The following parameters are available only when they are defined in the device description. | |
Enable Fallback IP |
|
Second Server IP address | IP address for the second connection |
Preferred Line |
|
Keep both lines connected |
|
Tip
The currently active line and the CommunicationState
of the inactive line can be read via the usiActiveLine
and ComStateBackup
outputs of the implicitly generated FB instance of the Modbus TCP Server.
Tip
The communication settings can be changed at runtime using the UpdateCommunicationSettings method. This method is available for the implicitly generated FB of this Modbus Server.
When the Enable Fallback IP option is selected, the UpdateCommunicationSettings method has no effect.