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

Want to add 32 bit read/write functionality #7

Open
ModuloFS opened this issue Nov 1, 2023 · 0 comments
Open

Want to add 32 bit read/write functionality #7

ModuloFS opened this issue Nov 1, 2023 · 0 comments

Comments

@ModuloFS
Copy link

ModuloFS commented Nov 1, 2023

Hello,

i am using a Folinn H1 vfd and it supports 32 bit register values. This is simply possible by only writing and reading two registers with the write and read multiple registers function code 0x03 and 0x10.
I want to add this feature to your library and because of that i have a question. I cant find any documentation about your used modbus lib, so i am right that the number 1 in this function "modbus_read_registers(ctx, mconfig.rpmOut.address, 1, &value)" specifies the amount of read registers (same with the write function)?
How you have compiled your lib?

@ModuloFS ModuloFS changed the title Want to add 32 bit read functionality Want to add 32 bit read/write functionality Nov 1, 2023
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

1 participant