-
Notifications
You must be signed in to change notification settings - Fork 193
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
Failed to execute Write: Error Code 2 #29
Comments
That's quite strange as it's able to write anyway on the slave. I mean, I'm seeing the registers being updated anyway... illegal data address means that, for instance, I want to write on register 40031 but I'm writing on the 31 or vice-versa? Because I've tried to write on both and I got the same issue. Could it be a specific issue on my slave? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm having issue sending command to my slave. I got this error from the console.
The strange thing is that data on the slave are correctly writte on the register when I run the write multiple register.
For istance, if I try to write on the register 29 the number 5, the Modbus Master send the string over serial (I'm using MODBUS RTU with an USB-RS485 adapter)
01 10 00 1D 00 01 02 00 05 65 DE
And I got the response
00 7f f7 c5 ff fd dd c2 00
and the Error code 2
Why the write goes well as I can see the register get updated with the data I requested to write but I got this error?
The text was updated successfully, but these errors were encountered: