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 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
6
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
112
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
420
So, I'm really just trying to get some experience by practicing with arrays. I'm using studio 5000 v33. I have one rung with an XIC bit that's...
Replies
5
Views
238
Back
Top Bottom