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

When using absolute addressing, only read the minimal required words #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NomAnor
Copy link

@NomAnor NomAnor commented Oct 16, 2024

This changes the read function to only read the minimum required words when using absolute addressing. They will never read more than modbusLength words.

Takes this as a proof of concept, I'm not sure if this works in all situations.

Fixes #33

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

Successfully merging this pull request may close these issues.

Absolute addressing always reads modbusLength words
1 participant