I want to convert Dword to Real. i following the example of you. but it wrongs.
Hello, The DWORD_TO_REAL function, and all related functions, simply does a type conversion, and since 0x4365e8f6 = 1130752246, this conversion is correct. If you want to represent the 4 byes in the DWORD in IEEE 754 floating point format, you will need to use the BUF_TO_REAL function block. Also, since you are using PC WORX - which is not part of the PLCnext Technology family - these types of problems are not likely to be relevant to any other forum users. It would be best if you could contact your local Phoenix Contact office for help with any further questions related to PC WORX or ILC controllers. ~ Martin.
