Hey guys, I have run into a bit of a hiccup. I am trying to store a large number (45123456) to a PLC5/30. This is actually a Product Order number that I want to save so we can capture it using an OPC server.
The number would be entered through a Panelview more than likely. However when I manually type the number into a floating point location to run some tests, it changes it to 4.5412346e+7. Needless to say, this is not good. Is there any way around this?
I was under the impression that since floats are 32 bits, it would accurately store the number. Maybe since the Processor is 16 bits, the floats are limited? Perhaps I am all kinds of wrong.
Any help would be appreciated.
The number would be entered through a Panelview more than likely. However when I manually type the number into a floating point location to run some tests, it changes it to 4.5412346e+7. Needless to say, this is not good. Is there any way around this?
I was under the impression that since floats are 32 bits, it would accurately store the number. Maybe since the Processor is 16 bits, the floats are limited? Perhaps I am all kinds of wrong.
Any help would be appreciated.