EcoStruxure Machine Expert - How to convert a DWORD variable as a real value with a floating point based on IEEE-754 standard?
Article available in these languages:Spanish
As shown in the picture below, the DWORD_TO_REAL function doesn't allow to convert a DWORD variable as a real value with a floating point based on the IEEE-754 standard.
In order to convert a DWORD variable to a real value following the IEEE-754 standard, we have to create a DUT - UNION type.
DUT definition:
Released for:Schneider Electric Nigeria
Attachment(s)
DWORD_TO_FLOAT_IEEE-754.project [488.71 KB]
Explore more
Range:
Modicon M262
Modicon M251
Modicon M241
EcoStruxure Machine Expert (SoMachine)
Articles that might be helpful
Show more articles
Discuss this topic with experts
Visit our Community for first-hand insights from experts and peers on this topic and more.