Float format

Banker

Member
Join Date
Dec 2005
Location
aarslev
Posts
82
Hi
I have a problem with accuracy of floatpoint values.

I have a Omron PLC acting as a slave to a Forboro ia DCS system, comms. is via seriel modbus.
The problem we have is that we don't get presice values.

DCS send 3.5 PLC show 3.47

DCS send 500 PLC show 501.2

:confused:
 
Don't think it is a rounding problem, some value display higher in the PLC that what the DCS is sending.

PS. don't no have the foxboro system works i do the PLC job.
 
Do you have any specs on the Foxboro system? It seems like if it was a format mismatch that the number would be off by more than just a little bit.

I was just guessing by past experience with me pulling values from an PLC that were displayed on a Wonderware HMI. The HMI rounded, and my numbers were always different.

(Or more accurately, my HMI was truncating the values then multiplying or dividing them by 10 or 100 to get the correct units displayed).
 
Last edited:

Similar Topics

Hello !, I have a Profibus PA net with Pepperl&Fuchs DP/PA coupler and a IM308C DP master in Simatic CPU 944 rack; the profibus net works ok, but...
Replies
0
Views
2,891
Hi. I'm using a Modbus ProSoft where I basically map data to a big INT array. Example, where GX_I_63HPU is a REAL, MNETC.DATA.WriteData[200] an...
Replies
21
Views
428
Hi, I have a complex database in Crimson 3.0 and in one of the display pages I am trying to get a tag to show the sum of several other tags. The...
Replies
3
Views
166
Hi. This is pretty basic but I'm struggling to find an efficient solution. I have a float value of let say 666.555 that I want to move / split...
Replies
3
Views
209
Hi Everyone, We are EDAC Electronics Australia and we provide wireless automation solutions and I/O distribution products, with expertise in...
Replies
8
Views
772
Back
Top Bottom