I'm looking through some ancient code that we are upgrading. In one of the ladders, on a rung there is just:
OTU S:5/0
This is he Math Overflow Trap, and is set when there is a math overflow (go figure).
Now, will a math overflow always result in a fault? If so, by constantly unlatching that bit, will that ensure the PLC will never fault in the case of a math overflow? In that case, what happens to the data that caused the overflow?
To me a better solution would be not to program in such a way that would allow overflow, but whatever...
OTU S:5/0
This is he Math Overflow Trap, and is set when there is a math overflow (go figure).
Now, will a math overflow always result in a fault? If so, by constantly unlatching that bit, will that ensure the PLC will never fault in the case of a math overflow? In that case, what happens to the data that caused the overflow?
To me a better solution would be not to program in such a way that would allow overflow, but whatever...