Frame check failed #1620
-
Hi, I've startet with the Async Server example (https://pymodbus.readthedocs.io/en/v2.5.3/source/example/asynchronous_server.html) in Version 2.5.3.
I've checked every parameter several times at the Server and the Client. But I get only the message that the Frame check failed. The first few seconds it seems to work
After a few seconds the failure begins.
Do you have any idea what causes the failure? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
It seems your client starts sending faulty packages. BUT we no longer support version 2.5.3, especially the async part have changed a lot between 2.5.3 and current release 3.3.1, so first advice is to update the library. |
Beta Was this translation helpful? Give feedback.
-
I've updatet to release 3.3.1 and got the following problems: The Source:
The failure:
I've commented out the lines in async_io.py and got the following output:
So the Server doesn't wait for incomming connections. |
Beta Was this translation helpful? Give feedback.
-
Same failure:
|
Beta Was this translation helpful? Give feedback.
-
you have not installed pyserial, see our readme. |
Beta Was this translation helpful? Give feedback.
That is highly unlikely, at least if this is a pymodbus problem, because the source code is quite different,
We are new at version 3.3.2, you might want to give that a try, and provide the debug log.
If the result as in the original post, the problem is the same pymodbus receives garbled data, which is caused by cabling or the rs485 adapter. Since it seems to works the first few seconds it does not look like a parameter problem, nor a problem in pymodbus.