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

Offset +1 on all registers #2

Closed
MarkoBursic opened this issue Jul 7, 2023 · 2 comments
Closed

Offset +1 on all registers #2

MarkoBursic opened this issue Jul 7, 2023 · 2 comments
Assignees

Comments

@MarkoBursic
Copy link

If I read holding register Address 0001 it actually tries to read register 0, so exception is throwed. To read register 1 you have to set Address to 0002. It applies to all kind of registers.

image

image

@sanny32 sanny32 self-assigned this Jul 7, 2023
@sanny32
Copy link
Owner

sanny32 commented Jul 7, 2023

Please let me know from what register 0 or 1 address space started in your device.

@MarkoBursic
Copy link
Author

After examination of the device (Corrigo HVAC controller) and reading the Modbus protocol specs I came to conclusion that maybe the device protocol is implemented in incorrect way. For example, from manual the outdoor temperature is input register 1, translated in modbus space this shall be input register 30001, then subtract 30001 as per modbus specs, the query address shall be 0000 (blue numbers in Wireshark debug), but it throws error, this for any range of registers (coils, contacts, input registers, holding registers).

Short: Closed, Modbus device incorrectly implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants