Closed goranach closed 7 years ago
For RTU, make sure the Master.maxConcurrentTransactions
option is set to 1.
If the device sends the response in chunks it will be reassembled by the RtuTransport
.
Everytime the RtuTransport
receives data from the Connection
a timer is started with delay equal to the RtuTransport.eofTimeout
option (End Of Frame). The response handling is invoked once the timer fires. For example, the slave:
To properly handle that frame, the eofTimeout
option must be set to 30ms + time to travel through the cable. If the eofTimeout
is set to 50ms, the RtuRansport
will:
Thanks!
I want to use RTU over TCP, but thare are coalescing packets. It may be 2 or 3 packets in receive buffer in RTUtransport. Can you help me, please?