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

feat(inputs.modbus): Add support for half-precision float (float16) #12340

Merged
merged 5 commits into from
Dec 7, 2022

Conversation

srebhan
Copy link
Member

@srebhan srebhan commented Dec 6, 2022

resolves #11907

This PR adds support for IEE754 half-precision floating points using a 16-bit representation. The new datatype is called FLOAT16-IEEE for the register-style configuration and FLOAT16 for the request-style configuration.

@telegraf-tiger telegraf-tiger bot added area/modbus feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Dec 6, 2022
@srebhan srebhan added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Dec 7, 2022
@powersj powersj merged commit 5cb40a1 into influxdata:master Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/modbus feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modbus - Add FLOAT16 data type
2 participants