You can configure a 1 second or greater timeout value for the driver.
The following global parameter can modify the default behavior and allow you to enter a millisecond timeout value to reduce the waiting time for a block call in the Modbus TCP/IP device communications.
The use of synchronous communications is forced when either the MBETH_NORESP_ipaddress or <DeviceID>_CONSERVES_CONN global parameter is enabled.
Time-outs may now be specified down to the millisecond level by configuring a project and/or port level global parameters. These parameters work in conjunction with the pre-existing time-out parameters.
MBETH_REQ_MILLISECOND_TIMEOUT
For |
Project |
Purpose |
To request a timeout of less than 1 second. |
Value |
0 - 32767 ms |
Default Value |
0 ms |
<PORT>_REQ_MILLISECOND_TIMEOUT
Where <PORT> is the number of the port.
For |
Port |
Purpose |
To request a timeout of less than 1 second for a single port. |
Value |
0 - 32767 ms |
Default Value |
0 ms |
Asynchronous Connection. |
|
Unsolicited Communication. |