Hi, Zulfiqor.
Modbus specifications says:
The master is configured by the user to wait for a predetermined timeout interval ( Response time-out) before aborting the transaction.
This interval is set to be long enough for any slave to respond normally ( unicast request).
https://www.modbus.org/docs/Modbus_o...line_V1_02.pdf (chapter 2.6)
Therefore, we do not validate the user-specified timeout in any way.
This seems pointless, because the response time depends not only from baudrate / data count, but also from the characteristics of a particular slave, which cannot be taken into account in the calculations.
For your slave device, you can by yourself write a timeout validation function and connect its output to the tTimeout input of our MB_SerialRequest block.





Ответить с цитированием