How does CLGX CMP real # to DINT

Might explain or complement the ability to manipulate real bits directly in earlier versions of 5k - they appear here to be forcing the sign bit to zero upon detecting the signed zero value.




Maybe the opposite?

  • 500 compares correctly i.e [EQU -0.0 0.0] evaluates to True
    • Even though the sign bit is 1 in the negative 0
      • See CPW of [F8:1 NEGATIVE_ZERO] to L9:2
  • Logix 5000 compares incorrectly i.e. [EQU -0.0 0.0] evaluates to False
 

Similar Topics

Hi I have a ifix 5.5 application where the operator opens a valve by clicking on a screen object. I can trace from object to data base that it is...
Replies
2
Views
53
Hi, i am using DVP-14SS2 PLC, after program written to plc, when power is reset, plc doesn't run. always need to connect to pc for the run mode.
Replies
0
Views
58
I am trying to connect with a Schneider plc which has a firmware version only available in Somachine v4.2. In Machine expert After taking upload...
Replies
0
Views
129
They are installed in a control panel that was made in France and are intended for the termination of analog inputs. Each of the red capped...
Replies
4
Views
444
Back
Top Bottom