delrioal_03
Member
I work at a cheese factory and we recently ran into a problem where in an older controller they where able to use a REAL Data type in OTU and XIC logic. has anyone seen this?
Doesn't the error mean that they are not in fact being used at the bit level, only trying to be used at the bit level?
Forgive me if I'm being slow here. I think you are saying that at some point, you were able to use REAL types at the bit level, suddenly you cannot.
I'm saying that you must be mistaken, you have never been able to use REAL types at the bit level. Maybe someone, at some point modified the UDT and changed a DINT/INT/SINT data type to REAL, causing the error?
Edit: usually when I make a confidant statement, someone shows me I have been mistaken, while I'm pretty confidant in my above post, but I've been wrong before...
use the COP* instruction to copy the bits from the real to a DINT and then look at the bits in the DINT.Yea thats the problem we encountered have you heard of a way around this?
use the COP* instruction to copy the bits from the real to a DINT and then look at the bits in the DINT.
* or CPW or CPS or whatever it is in Logix 5k
So this error popped up when we where trying to install an update to our firmware but what we found was that those 3 rungs would not be accepted with the new firmware update. Then that's when we realized those bits where REAL data types being used a the bit level.