OpenModSim icon indicating copy to clipboard operation
OpenModSim copied to clipboard

damaged Frames

Open Xander0823 opened this issue 1 year ago • 1 comments

Hello,

I am using OpenModSim for the first time today. I have encountered the following problem:

When I use OpenModSim 1.2.0 with a Loytec LINX-202 with ModBus/RTU (Slave 1, 19200,8N1), I regularly get broken frames.

If I use e.g. mod_RSim with the identical hardware, the frames are all ok.

Attached are the two logfiles.

Greetings Alex RS485_ModBus_OpenModSim.csv RS485_ModBus_mod_RSim.csv

Xander0823 avatar Sep 06 '23 08:09 Xander0823

Hello, Alex. You can get broken frames if you use incorrect baud rate. Due to the fact that Open ModSim use Qt modbus stack this problem may be in it implementation. So, you can try to use Open ModSim with Linux operation system to test Modbus RTU connection.

sanny32 avatar Sep 06 '23 09:09 sanny32