{}

我們的品牌

Impact-Company-Logo-English Black-01-177x54

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站

搜尋常見問題

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: 西班牙文

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:
Image1

Image2

施耐德電機Taiwan

附件

DWORD_TO_FLOAT_IEEE-754.projectDWORD_TO_FLOAT_IEEE-754.project [488.71 KB]
探索更多
系列:
探索更多
系列: