ControlLogix 5550 PLC (Or any other)
Just wondering in general, what is the better method for handling Scaled inputs?
Move the scaled value to a DINT or to a float.
I have to work with large number of inputs (32 anlog inputs) and need resolution of 4 decimal places (ie. 9999.1234) for calculations.
My inputs have a range of 0-1000 (Raw in = 0 - 10000, Scaled value out = 0 - 1000) from analog inputs)
Is it better to send this to a FLOAT directly or do I use a DINT? If I use a DINT how do I do to get the 4 decimal places of resolution for my calculations?
For example, If I use a DINT,
4.0001
4.0002
4.0003
4.0004
Has the same scaled count. Any ideas how I can do this with DINT' or do I have to use floats?
Thanks Again.
Just wondering in general, what is the better method for handling Scaled inputs?
Move the scaled value to a DINT or to a float.
I have to work with large number of inputs (32 anlog inputs) and need resolution of 4 decimal places (ie. 9999.1234) for calculations.
My inputs have a range of 0-1000 (Raw in = 0 - 10000, Scaled value out = 0 - 1000) from analog inputs)
Is it better to send this to a FLOAT directly or do I use a DINT? If I use a DINT how do I do to get the 4 decimal places of resolution for my calculations?
For example, If I use a DINT,
4.0001
4.0002
4.0003
4.0004
Has the same scaled count. Any ideas how I can do this with DINT' or do I have to use floats?
Thanks Again.