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

Add support for reading booleans from registers #31

Open
angelrti opened this issue Jul 30, 2021 · 0 comments
Open

Add support for reading booleans from registers #31

angelrti opened this issue Jul 30, 2021 · 0 comments
Assignees
Labels
adapter_modbus Something affecting the modbus adapter enhancement New feature or request

Comments

@angelrti
Copy link
Member

The Modbus adapter should be able to read single bits from a Modbus register and translate it to a DynamicData boolean field.
We may want also to apply so masks and compare them with a specific value ('result value'). For example
(register & mask) == 00001000

In this case, the output value might be an enum. Also, the 'result value' that we use to compare might be an enum value

@angelrti angelrti added enhancement New feature or request adapter_modbus Something affecting the modbus adapter labels Jul 30, 2021
@angelrti angelrti self-assigned this Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adapter_modbus Something affecting the modbus adapter enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant