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

ModBusClient.ReadHoldingRegisters - Amount #45

Open
faber33 opened this issue Oct 27, 2020 · 1 comment
Open

ModBusClient.ReadHoldingRegisters - Amount #45

faber33 opened this issue Oct 27, 2020 · 1 comment

Comments

@faber33
Copy link

faber33 commented Oct 27, 2020

Hi. How many registers can be read at once?

So far I can read up to 126 registers. Is this a limit or a bug in my program?

@plpolak
Copy link
Member

plpolak commented Oct 28, 2020

According to the Modbus specification, there is a limit of 126 registers when reading the hold registers. Unfortunately the protocol specifies the amount in a word, suggesting it is possible to read more in one go.

Modbus protocol specification

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