B/++Bl - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

3. Instructions

++B/++BL

Instruction
INCREMENT BCD
DOUBLE INCREMENT BCD
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
++B: Word
Wd
++BL: First word
Operand Specifications
Word addresses
Area
CIO
WR
HR
++B
Wd
OK
OK
OK
++BL
Wd
Flags
Name
Error Flag
Equals Flag
Carry Flag
342
Mnemonic
Variations
++B
@++B
++BL
@++BL
++B
+ +B(594)
Wd: Word
Wd
Block program areas
Step program areas
OK
OK
Description
Indirect DM/EM
@DM
AR
T
C
DM
EM
@EM
OK
OK
OK
OK
OK
OK
Label
ER
• ON if the content of Wd/Wd+1 and Wd is not BCD.
• OFF in all other cases.
=
• ON if the result is 0000/0000 0000 after execution.
• OFF in all other cases.
CY
• ON if a digit in Wd/Wd+1 or Wd went from 9 to 0 during execution.
• OFF in all other cases.
Function
code
Increments the 4-digit BCD content of the speci-
594
fied word by 1.
Increments the 8-digit BCD content of the speci-
595
fied words by 1.
Subroutines
OK
Data type
++
WORD
DWORD
Registers
addresses
Con-
stants
*DM
DR
*EM
OK
OK
---
---
Operation
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
+ +BL
+ +BL(595)
Wd: First word
Wd
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
++L
++
1
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
---
++L
2
TR
bits
---

Advertisement

Table of Contents
loading

Table of Contents