Serial request that worked for older versions stopped working in v3.7.4 #2439
MatthiasJaeger
started this conversation in
General
Replies: 2 comments 4 replies
-
Hmm looks like a bug we solved, but I will check. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Bug confirmed, started with v3.7.4, and is still present on dev. v3.7.0 - v3.7.3 have another problem, that they do not read the whole message. A fix will be made available shortly, together with a new test case, that ensures the bug do not reappear. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using pymodbus to debug a hardware product that provides a MODBUS server functionality. I encountered some functionality that works when I use older pymodbus versions (I tested v3.7.1, v3.7.2 and v3.7.3) but not in the most recent (v3.7.4).
Any help with identifying if this is an issue with the hardware that now comes to light due to changed pymodbus behavior or a bug in pymodbus would be very welcome.
This is a minimal example that produces the issue (with my hardware):
With pymodbus v3.7.3 I get:
With pymodbus v3.7.7 I get:
Given that when the issue happens only 4 bytes are received and the transmission happens with DMA on a 32 bit system my first guess would be that it could be a timing issue. Any ideas on what might be causing this or how to further investigate it?
Beta Was this translation helpful? Give feedback.
All reactions