1.5 Data Ranges Which can be Handled in the PLC
1-85
Values when overflow or underflow occurs
Numerical value handled by the FP series programmable controller all form a loop
joined at the maximum value and the minimum value as shown below.
16−bit binary operation
K 32767 H 7FFF
K-32768 H 8000
K1
H 0001
K0
H 0000
K −1
H FFFF
Overflow
Underflow
...
...
...
...
Max. value
Min. value
The max. value
links with the min.
value.
Example 1: For K32767 + K1 (overflow)
The operation result is K−32768 and the carry flag turns on.
Example 2: For K−32768 − K1 (underflow)
The operation result is K32767 and the carry flag turns on.
4−digit BCD code operation
H 9999
H0
Overflow
Underflow
Max. value
Min. value
.....
The max. value
links with the min.
value.
Example 1: For H9999 + H1 (overflow)
The operation result is H0 and the carry flag turns on.
Example 2: For H0 − H1 (underflow)
The operation result is H9999 and the carry flag turns on.