Twido Modbus Comms Multiple Messages

D

Thread Starter

Daniel

Hi All

I note the problem I have has been discussed before but not solved I don't think.

I have a Twido LCDE40DRF and am trying to read 3 lots of registers from a slave over port 2 (2nd serial port/Modbus RTU)

The problem is the first request is sent and register values returned, but the remaining 2 requests are bypassed and then the first request is sent again.

The TwidoSuite example shows message management using the %MSG2.D bit and using a latching coil. This doesn't work for me and don't see how it ever could.

Does anyone have a program example with multiple requests/writes over Modbus RTU that is working fine that they could send me?

Many Thanks
Daniel

[email protected]
 
Top