GE Fanuc adding decimal values to constant problem

treefort

Member
Join Date
Apr 2012
Location
British Columbia
Posts
25
Hi,

There is a compare block being used 1100 times to compare variables to a constant value -999. The problem is that the GE is changing the -999 to -999.000128 and the compare block is not working. This used to work. We can't get the turbine going because of this.

Anyone have any ideas?

Much appreciated,

Edit: We've tried the compare logic with a test bench PLC and brand new program. Once downloaded, -999 changes to -999.000128
 
Don't use absolute compares with floating point values, ever.
Use only relative compares (Greater than, Greater than or equal to, Less than, Less than or equal to).

Normally a simple whole number like that can be represented properly in most floating point formats, but don't count on it. Even with the IEEE standards, there are lots of places for slight differences, and platform specific optimizations.
 

Similar Topics

I have a CNC cutting equipment, all the components are Fanuc from the CNC CPU A02B-0307-B822, a PLC AIF01A and a panel i, on the panel i (operator...
Replies
1
Views
108
I want to buy this program if anyone has it. Absolutely no one has it officially for sale. My cpu is IC610CPU104B My mail...
Replies
2
Views
110
I've got a Micrologix 1100 with ethernet and I'm trying to configure communications to a Fanuc R30iB controller. I'm pretty sure you have to set...
Replies
0
Views
102
We recently purchased a IC693CPU352 module and it appears the internal time clock is static. I can set the time and date but once set it does not...
Replies
5
Views
170
I have one GE Fanuc IC200PNS002-AC Versamax Network Interface Module and the fault red light is blinking and i have checked in manual it is...
Replies
9
Views
215
Back
Top Bottom