sanny32 / OpenModSim

Open ModSim is a Free Modbus Slave (Server) Utility
MIT License
51 stars 9 forks source link

damaged Frames #2

Open Xander0823 opened 12 months ago

Xander0823 commented 12 months ago

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

sanny32 commented 12 months ago

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.