AlexV Posted December 1, 2021 Report Share Posted December 1, 2021 Hello to everybody, I'm reading a negative hex number from a heat meter. How can I convert it to a positive number? I just want the first part that is H-917E, decimal number: 37246. Best Regards, Alex Link to comment Share on other sites More sharing options...
MVP 2023 kratmel Posted December 1, 2021 MVP 2023 Report Share Posted December 1, 2021 For correct answer heat meter model or modbus manual needed. You can use Swap Bytes function for ML90 and get result in DEC format. Link to comment Share on other sites More sharing options...
AlexV Posted December 1, 2021 Author Report Share Posted December 1, 2021 3 hours ago, kratmel said: For correct answer heat meter model or modbus manual needed. You can use Swap Bytes function for ML90 and get result in DEC format. Hi Kratmel, I have made this and it works, thanks alot! Best Regards, Alex Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now