Posted 22 Oct 2020 Hello! I have a float number (HEX: 3CA01D0F) in Big Endian. It's 0.0195451062. I get it from the sensor and store it in a double word variable. Could you help me? How can I convert DWord to Float? If i use DFLT instruction, It treats DWord as an integer (1017126159) and just gives me 1.017126 e+009 Thanks in advance. Share this post Link to post Share on other sites
Posted 23 Oct 2020 Actually I need to read this from register D. So I found function DEMOV(TRUE, D0, MyFloatVar); It transfer bytes from D0-D1 to my variable in correct format. Share this post Link to post Share on other sites