{}

Nhãn hiệu của chúng tôi

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

Chào mừng bạn đến với Trang web của Schneider Electric

Chào mừng đến với trang web của chúng tôi.

Tìm các câu hỏi thường gặp

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: Tiếng Tây Ban Nha

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

Schneider Electric Việt Nam

Phần đính kèm

DWORD_TO_FLOAT_IEEE-754.projectDWORD_TO_FLOAT_IEEE-754.project [488.71 KB]
Tìm hiểu thêm
Phạm vi:
Modicon M262Modicon M251Modicon M241EcoStruxure Machine Expert (SoMachine)
Tìm hiểu thêm
Phạm vi:
Modicon M262Modicon M251Modicon M241EcoStruxure Machine Expert (SoMachine)