This project is read-only.

Problem reading data from PLC

Jul 1, 2014 at 9:39 AM
Hi there,

I'm developing a windows form application that interact with a PLC CPU and I'm using S7.Net.
The dll seems to work great as it connects seamlessly with the CPU, but the data I read are in a format that I cannot convert.

The guy that developed the PLC software told me that the variables are stored in IEEE 754 format. I try to convert them in double, but the numbers I get are huge, for example a value that should be 28 is extracted as 1162660659.

What conversion should I use?

Thank you in advance, regards.