High
−
level Instructions
3
−
88
Description
Adds 1 to the 32-bit 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 the area specified using the index modifier
exceeds the limit.
・
Error flag (R9008): Turns on for an instant when the area specified using the index modifier
exceeds the limit.
・
= 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 32-bit
data (overflows).
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-X
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...