EasyManua.ls Logo

Omron SYSMAC CV Series - Page 287

Omron SYSMAC CV Series
636 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
275
Description BCD ADD WITHOUT CARRY
When the execution condition is OFF, +B(404) is not executed. When the execu-
tion condition is ON, +B(404) adds the contents of Au and Ad and places the re-
sult in R. CY will be set if the result is greater than 9999.
Au
Ad
RCY
+
DOUBLE BCD ADD WITHOUT CARRY
When the execution condition is OFF, +BL(405) is not executed. When the
execution condition is ON, +BL(405) adds the 8-digit contents of Au+1 and Au
and the 8-digit contents of Ad+1 and Ad, and places the result in R and R + 1. CY
will be set if the result is greater than 9999 9999.
Au +1
Ad + 1
R + 1CY
+
Au
Ad
R
BCD ADD WITH CARRY
When the execution condition is OFF, +BC(406) is not executed. When the
execution condition is ON, +BC(406) adds the contents of Au, Ad, and CY and
places the result in R. CY will be set if the result is greater than 9999.
CY
+
Au
Ad
RCY
DOUBLE BCD ADD WITH CARRY
When the execution condition is OFF, +BCL(407) is not executed. When the
execution condition is ON, +BCL(407) adds the 8-digit contents of Au+1, Au, the
8-digit contents of Ad+1 and Ad, and CY, and places the result in R and R + 1. CY
will be set if the result is greater than 9999 9999.
Au +1
Ad + 1
R + 1
CY
+
Au
Ad
RCY
Precautions Au and Ad (or Au, Au+1, Ad, and Ad+1) must be BCD. If any other data is used,
the Error Flag (A50003) will turn ON and the instruction will not be executed.
Note Refer to page 115 for general precautions on operand data areas.
Flags ER (A50003): Au and Ad (or Au, Au+1, Ad, and Ad+1) are not BCD.
The content of a*DM word is not BCD when set for BCD.
CY (A50004): The result exceed the digits.
EQ(A50006): The result after the addition is all zeros.
Symbol Math Instructions Section 5-20

Table of Contents

Related product manuals