Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67042

Converting Modbus integer to float

$
0
0

I'm working on a VI that controls an electric motor through an Emotron AC drive, using the modbus library. I have no problem getting the motor to run and read its speed, however when trying to read the torque i get a problem.

 

It seems the Emotron drive is using its own format for floating point numbers, see attached page from the manual. So when reading the torque in Labview i get a number like 65431 something, how can I convert this to floating point using the method descriped in the manual?


Viewing all articles
Browse latest Browse all 67042

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>