Skip to content
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: Read Holding Registers does not behave as expected #221

Open
73jn opened this issue Jun 4, 2024 · 4 comments
Open

modbus: Read Holding Registers does not behave as expected #221

73jn opened this issue Jun 4, 2024 · 4 comments
Labels
bug Something isn't working modbus

Comments

@73jn
Copy link

73jn commented Jun 4, 2024

Hello,
I have a GO-E charger with the latest version 56.1.
I need to retrieve information from the charger on its Modbus server. Using a Modbus TCP client, I just noticed that the behavior of a single register and several registers is not the same only on some registers.

For example, reading register 206 (Led Brightness) gives me the value 255. However, if I read registers 205 and 206, register 206 (Led Brightness) equals -1, whereas it should be 255.

Read Holding Register 206 :
206

Read Holding Registers 205 & 206
205206

Read Holding Registers 206 & 207
206207

/jean

@erxbout erxbout added the modbus label Jul 8, 2024
@erxbout
Copy link
Collaborator

erxbout commented Jul 8, 2024

I am sorry I can not replicate your issue..
When I read the registers I get this output

grafik

Maybe the output is different if you test it with a different tool?

@73jn
Copy link
Author

73jn commented Jul 8, 2024

The error seems to occur when you read registers 205 and 206, not 206 and 207.
@erxbout

@erxbout
Copy link
Collaborator

erxbout commented Jul 8, 2024

Ah I overlooked that part..
Now I can reproduce it.. seems like this is always the case when reading more than one register before 206 (for example 200 - 210)

We will note it as a bug but I can not promise you a fast resolve..

@erxbout erxbout added the bug Something isn't working label Jul 8, 2024
@erxbout
Copy link
Collaborator

erxbout commented Sep 13, 2024

The issue might be fixed now with the new beta release 56.9
Had no time to test it yet..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working modbus
Projects
None yet
Development

No branches or pull requests

2 participants