Comparing REAL Values on a ControlLogix: Why EQU Is the Wrong Instruction

Table of five decimal values against what a Logix REAL actually stores for each, including 10.1 minus 10.0 and 0.1 accumulated 1850 times

Comparing REAL Values on a ControlLogix: Why EQU Is the Wrong Instruction Page 882 of 1756-RM018A carries a worked example nobody quotes: subtract 10 from 10.1 on a Logix controller and the result could very well be 0.10000038, rather than the 0.1 you were expecting. Two pages of guidance later the same manual puts it … Read more

Advertisement