gmferg
Lifetime Supporting Member + Moderator
Using a ControlLogix L63. I have a customer who wanted to totalize millions of gallons. The CPT instruction worked fine until the totalizer reached 256 and then it just stopped. The CPT is adding approximately 0.00001 each time.
After playing around for a while I discovered that I could key in 256.0001 for the value of a real tag but, 256.00001 is not accepted.
After further playing I discovered the following:
Accepted Not Accepted
2.0000002 2.0000001
2.000001 2.0000001
32.000004 32.000001
32.00001 32.000001
512.00006 512.00001
512.0001 512.00001
2048.0002 2048.0001
2048.001 2048.0001
32768.004 32768.001
32768.01 32768.001
262144.03 262144.01
262144.1 262144.01
2097152.3 2097152.1
2097152.0 2097152.1
Can anyone explain what is happening here and is there some workaround?
After playing around for a while I discovered that I could key in 256.0001 for the value of a real tag but, 256.00001 is not accepted.
After further playing I discovered the following:
Accepted Not Accepted
2.0000002 2.0000001
2.000001 2.0000001
32.000004 32.000001
32.00001 32.000001
512.00006 512.00001
512.0001 512.00001
2048.0002 2048.0001
2048.001 2048.0001
32768.004 32768.001
32768.01 32768.001
262144.03 262144.01
262144.1 262144.01
2097152.3 2097152.1
2097152.0 2097152.1
Can anyone explain what is happening here and is there some workaround?