EasyManua.ls Logo

Omron CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS
1308 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
Loading...
3. Instructions
344
CS/CJ/NSJ Series Instructions Reference Manual (W474)
++B/++BL
Applicable Program Areas
Operands
z 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
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK 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/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
++B Wd
OK OK OK OK OK OK OK OK OK OK
---
OK
---
OK --- --- --- ---
++BL Wd ---
Name Label Operation
Error Flag ER ON if the content of Wd/Wd+1 and Wd is not BCD.
OFF in all other cases.
Equals Flag = ON if the result is 0000/0000 0000 after execution.
OFF in all other cases.
Carry Flag 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

Related product manuals