Modbus TCP Setup
Configuring the connection to the server (slave device) using the Modbus TCP protocol.
blockType: CFunction
|
Path in the library:
|
Description
| To work with the block, install/update the support package RITM blocks. |
Block Modbus TCP Setup It is used to set up a connection to a server (a slave device) using the Modbus TCP protocol.
Parameters
Параметры
# Server IP-address: — IP address for the connection
Details
| Specifying an IP address is mandatory for unit operation. FQDN host name is not supported. |
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Port: — server port
Details
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Response timeout, s: — response timeout from slave device in seconds
Details
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Response timeout, µs: — response timeout from slave device in microseconds
Details
| Timeout values are specified for each unique server identifier. |
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Server ID: — connection identifier for receiving and transmitting units
Details
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Max reconnection attempts: — number of attempts to reconnect to the server during model initialisation
Details
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
