Chapter 4. Ladder Diagram (LD) Programming
190 PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual GFK-2950C
4.10.1 Overflow
When an operation results in overflow, there is no power flow.
If an operation on signed operands (INT, DINT, REAL) results in overflow, the output reference is set
to its largest possible value for the data type. For signed numbers, the sign is set to show the
direction of the overflow. If signed or double precision integers are used, the sign of the result for DIV
and MUL functions depends on the signs of I1 and I2.
If an operation on unsigned operands (UINT) results in overflow or underflow, the output value wraps
around. For example the ADD_UINT operation, 65535+16, yields a result of 15.