Omron SYSMAC CVM1 Series Operation Manual page 280

Duplex system
Hide thumbs Also See for SYSMAC CVM1 Series:
Table of Contents

Advertisement

Symbol Math Instructions
Description
Precautions
Flags
262
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.
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.
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.
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 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 101 for general precautions on operand data areas.
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.
Au
Ad
+
CY
R
Au +1
Au
Ad + 1
Ad
+
CY
R + 1
R
Au
Ad
CY
+
CY
R
Au +1
Au
Ad + 1
Ad
CY
+
CY
R + 1
R
Section 5-20

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cv seriesSysmac cvm1d series

Table of Contents