90/30 Floating Point Error

Hello,

I am doing some floating point maths in a GE 90-30 PLC with a 374 CPU

When I view a register set up as a floating point register I cannot enter the value I intend.
Example.
Write a value of "4.8" to register %R0131
When I view %R0131 the PLC displays "4.8000001907"

Can anybody explain this?
float1.jpg
 

Similar Topics

I am trying to do a very simple floating point function that will add and subtract a constant value 0.0002 to the value of 0.0160. Therefore, at...
4
Replies
676
Views
I have a Multilin SR489 talking modbus serial to a prosoft card on a PLC5. The data I want to read is ground current. The serial interface is...
4
Replies
1,226
Views
Hi All, I am trying to display a double word into floating point in either ladder or structured text in CX-programmer with Omron CPU12. For...
6
Replies
2,171
Views
Hi guys i came across a problem when convecting float to integer ie. 8/3=2.666666 if i convect it i get 2 only 0.6666 is left out how do i get...
20
Replies
3,892
Views
I need to check an axis actual travel position, and to compare it to the master travel position. To do this I have to multiply the axis travel...
6
Replies
3,547
Views
Top