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 #189 background imageLoading...
Page #189 background image
2-153
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Increment/Decrement
Instructions
2
++B/++BL
++B/++BL
Applicable Program Areas
Operands
Operand Specifications
Flags
Instruction Mnemonic Variations
Function
code
Function
INCREMENT BCD ++B @++B 594
Increments the 4-digit BCD content of the speci-
fied word by 1.
DOUBLE INCREMENT BCD ++BL @++BL 595
Increments the 8-digit BCD content of the speci-
fied words by 1.
Symbol
++B ++BL
Area Step program areas Subroutines Interrupt tasks
Usage OK OK OK
Operand Description
Data type Size
++ ++L ++ ++L
Wd
++B: Word
++BL: First 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
Wd OK OK OK OK OK OK OK OK OK --- --- --- ---
Name Label Operation
Error Flag P_ER ON if the content of Wd/Wd+1 and Wd is not BCD.
OFF in all other cases.
Equals Flag P_EQ ON if the result is 0000/0000 0000 after execution.
OFF in all other cases.
Carry Flag P_CY ON if a digit in Wd/Wd+1 or Wd went from 9 to 0 during execution.
OFF in all other cases.
Wd: Word
++B(594)
Wd
Wd: First word
++BL(595)
Wd

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