Skip to content

Conversation

@EricDuminil
Copy link
Contributor

builder and decoder don't have the same byteorder in this example:
https://pymodbus.readthedocs.io/en/latest/source/example/modbus_payload.html

64float comes out as 1.0489227558190733e+146 instead of 123.45

My commits set both byteorder to Endian.Big. and 64float is decoded to 123.45 again.

@dhoomakethu
Copy link
Contributor

@EricDuminil Thanks for the PR.

@dhoomakethu dhoomakethu merged commit 826a76c into pymodbus-dev:dev Oct 9, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants