User manual

Highlevel Instructions
3 122
Description
Adds 1 to the 8-digit BCD data specified by D. The result is stored in D+1 and D.
Original data Result
(D+1, D) (D+1, D)+1
Precautions during programming
If the result of an arithmetic operation instruction does not fall within the range of values which can be
handled, an overflow will result.
Under normal circumstances, do not allow an overflow to occur.
If an overflow occurs, the carry flag (special internal relay R9009) will turn on.
Flag conditions
Error flag (R9007): Turns on and stays on when:
Error flag (R9008): Turns on for an instant when:
The area specified using the index modifier exceeds the limit.
The data is not BCD data.
= flag (R900B): Turns on for an instant when the calculated result is recognized as “0”.
Carry flag (R9009): Turns on for an instant when the calculated result exceeds the range of 8-digit
BCD data (overflows).