Converting 2 words (IEEE 754 format) to a real number
Hi,
So I'm using a Modbus TCP client to read some registers from the server. I need to convert the value of two of this registers (2 words), that are in the IEEE 754 format, to a single real number. There's a library for PCW6 called SYS_PLC that has a function block for this (SYS_IEEE_ToReal). I don't know how to do this on PLCNext Engineer. Any help will be very much appreciated.
Comments
Hello,
Please see this thread:
https://www.plcnext-community.net/index.php?option=com_easydiscuss&view=post&id=1272&Itemid=221&lang=en#reply-1343
The basic steps might be:
- Martin.
Thank you very much Martin. It works like a charm.