Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 383

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

3. Instructions
+B/+BL
Instruction
BCD ADD WITHOUT CARRY
DOUBLE BCD ADD WITHOUT
CARRY
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
+B:
Augend word
Au
+BL: First augend word
+B:
Addend word
Ad
+BL: First addend word
+B:
Result word
R
+BL: First result word
Operand Specifications
Area
CIO
WR
HR
Au, Ad
+B
OK
OK
OK
R
Au, Ad
+BL
OK
OK
OK
R
Flags
Name
Error Flag
ER
Equals Flag
=
Carry Flag
CY
346
Mnemonic
Variations
+B
@+B
+BL
@+BL
+B
+B(404)
Au: Augend word
Au
Ad
Ad: Addend word
R
R: Result word
Block program areas
Step program areas
OK
OK
Description
Word addresses
AR
T
C
DM
EM
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
Label
• ON when Au is not BCD.
• ON when Ad is not BCD.
• OFF in all other cases.
• ON when the result is 0.
• OFF in all other cases.
• ON when the addition results in a carry.
• OFF in all other cases.
Function
code
Adds 4-digit (single-word) BCD data and/or con-
404
stants.
Adds 8-digit (double-word) BCD data and/or con-
405
stants.
Subroutines
OK
Data type
+B
+BL
WORD
DWORD
WORD
DWORD
WORD
DWORD
Indirect
DM/EM
Registers
Con-
addresses
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
OK
---
OK
OK
OK
---
---
Operation
+B
• ON when Au, Au +1 is not BCD.
• ON when Ad, Ad +1 is not BCD.
• OFF in all other cases.
• ON when the result is 0.
• OFF in all other cases.
• ON when the addition results in a carry.
• OFF in all other cases.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
+BL
+BL(405)
Au
Au: 1st augend word
Ad
Ad: 1st addend word
R
R: 1st result word
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
+B
+BL
1
2
1
2
1
2
Pulse
TK
CF
bits
Indirect
IR
using IR
---
OK
---
---
---
---
OK
---
---
---
+BL
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents