-
-
Notifications
You must be signed in to change notification settings - Fork 727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Modbus TCP] _readMemory error! Error: Data length error, expected 9 got 6 #1148
Comments
Do you know why Modbus pool is showing -- for two registers? Are you able to use Wireshark with both? |
The device is answering with different lengths for the same request? |
Hi, |
Hi, |
Hi I get the same CRC error on my polling, it only happens on ID: 5, holding register 2024 and duplpicate id: 1, 2001 and id: 5, HR: 2001, but only ID: 5 is showing the _readmemory error Those messages look fine on modbus poll and wireshark, so I can't think the slave is doing anything wrong, it must be a bug in the FUXA EDIT: If I make another device in Fuxa, with the register alone in it, then it shows up without problem. But I cannot have 2 devices on the same serial so it does not work as a workaround.... |
Hi, have you try to update the modbus library to v8.0.16 |
Hi, I haven't upgraded this library yet, but I will do it later :) |
Hi. after checking the tcp server, I found that there was a byte error in the reply message, which caused the number of bytes to be incorrect. Now I have updated the server version and the problem has been resolved, thanks for your help and you can close the issue :) |
Hi. |
Hi!
I found a following error when using modbus tcp. Before testing fuxa,We checked the data type,tcp address and the slave address.They are correct,then I use modbus poll to read, there is no problem.
But when I use fuxa to read, the following error occurs. I tried to set up polling 5 sec,but it didn‘t work.
Your support is appreciated.
The text was updated successfully, but these errors were encountered: