Bcd Add With Carry: +Bc(406) - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Symbol Math Instructions
Precautions
Examples

3-11-7 BCD ADD WITH CARRY: +BC(406)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
438
If Au, Au +1 or Ad, Ad +1 are not BCD, an error is generated and the Error
Flag will turn ON.
If as a result of the addition, the content of R, R +1 is 00000000 hex, the
Equals Flag will turn ON.
If an addition results in a carry, the Carry Flag will turn ON.
When CIO 000000 is ON in the following example, D00101 and D00100 and
D00111 and D00110 will be added as 8-digit BCD values, and the result will
be output to D00121 and D00120.
Adds 4-digit (single-word) BCD data and/or constants with the Carry Flag
(CY).
+BC(406)
Au: Augend word
Au
Ad: Addend word
Ad
R
R: Result word
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program
Step program
areas
OK
OK
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
EM Area without bank
EM Area with bank
Subroutines
areas
OK
Au
CIO 0000 to CIO 6143
W000 to W511
H000 to H511
A000 to A959
T0000 to T4095
C0000 to C4095
D00000 to D32767
E00000 to E32767
En_00000 to En_32767
(n = 0 to C)
Section 3-11
+BC(406)
@+BC(406)
Not supported.
Interrupt tasks
OK
Ad
R
A448 to A959

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents