Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

S7 Real Numbers problem

Status
Not open for further replies.

snydl0ga

Industrial
May 26, 2004
12
US
I have to interface to a program that is using DINT data in DBlocks. The DINT is data coming into the PLC and I have to do calculations on these numbers as Real types. My problem is that when I use the DI to R Converter the numbers do not match. At the input the number in DINT is 7 million and something and the Real is 12 billion or so.

Maybe I should convert the datatypes to DINT if this is going to get ugly.

Any suggestions?
 
Replies continue below

Recommended for you

Disregard...It turns out the Reals are displayed in a different format than the DInts so I was looking at them wrong. Reals are in a Scientific notation.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top