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 Quote Link to comment Share on other sites More sharing options...
MVP 2022 kratmel Posted December 1, 2021 MVP 2022 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. Quote 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.