EasyManuals Logo

Omron SYSMAC CP Series Instruction & Reference Manual

Omron SYSMAC CP Series
467 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
Page #198 background imageLoading...
Page #198 background image
2 Instructions
2-162
CP1E CPU Unit Instructions Reference Manual(W483)
+B/+BL
Applicable Program Areas
Operands
Operand Specifications
Flags
Instruction Mnemonic Variations
Function
code
Function
BCD ADD WITHOUT CARRY +B @+B 404
Adds 4-digit (single-word) BCD data and/or con-
stants.
DOUBLE BCD ADD WITHOUT
CARRY
+BL @+BL 405
Adds 8-digit (double-word) BCD data and/or con-
stants.
Symbol
+B +BL
Area Step program areas Subroutines Interrupt tasks
Usage OK OK OK
Operand Description
Data type Size
+B +BL +B +BL
Au
+B: Augend word
+BL: First augend word
WORD DWORD 1 2
Ad
+B: Addend word
+BL: First addend word
WORD DWORD 1 2
R
+B: Result word
+BL: First result word
WORD DWORD 1 2
Area
Word addresses Indirect DM addresses
Constants CF Pulse bits TR bits
CIO WR HR AR T C DM @DM *DM
Au, Ad
OK OK OK OK OK OK OK OK OK
OK
--- --- ---
R ---
Name Label
Operation
+B +BL
Error Flag P_ER ON when Au is not BCD.
ON when Ad is not BCD.
OFF in all other cases.
ON when Au, Au +1 is not BCD.
ON when Ad, Ad +1 is not BCD.
OFF in all other cases.
Equals Flag P_EQ ON when the result is 0.
OFF in all other cases.
ON when the result is 0.
OFF in all other cases.
Carry Flag P_CY ON when the addition results in a carry.
OFF in all other cases.
ON when the addition results in a carry.
OFF in all other cases.
+B(404)
R
Au
Ad
Au: Augend word
Ad: Addend word
R: Result word
+BL(405)
R
Au
Ad
Au: 1st augend word
Ad: 1st addend word
R: 1st result word

Table of Contents

Other manuals for Omron SYSMAC CP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CP Series and is the answer not in the manual?

Omron SYSMAC CP Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals