RatherBeFishing
Member
Am I understanding correct that the "real" data type in an RSLogix 5000 is a 32-bit (double integer), but the "rules" change as needed?
Say I had a negative number, would it limit it to: -32767.9999847412109375 or somewhere there abouts?
I had a compactlogix limit me to: 65535.0 (approximately, I didn't write it down when it happened).
It appeared to limit the number at the MAX for an unsigned integer. Why wasn't the decimal portion at something other than a zero? Why would the limit be for an UNSIGNED integer? I was incriminating it with a small number (somewhere in the neighborhood of .00218666).
The number just stopped btw. Kind of figured I would have had a minor fault showing..
Say I had a negative number, would it limit it to: -32767.9999847412109375 or somewhere there abouts?
I had a compactlogix limit me to: 65535.0 (approximately, I didn't write it down when it happened).
It appeared to limit the number at the MAX for an unsigned integer. Why wasn't the decimal portion at something other than a zero? Why would the limit be for an UNSIGNED integer? I was incriminating it with a small number (somewhere in the neighborhood of .00218666).
The number just stopped btw. Kind of figured I would have had a minor fault showing..