Increment/Decrement Instructions - Omron SYSMAC CS Series Instruction & Reference Manual

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

3. Instructions

Increment/Decrement Instructions

++/++L
Instruction
INCREMENT BINARY
DOUBLE INCREMENT
BINARY
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
++: Word
Wd
++L: First word
 Operand Specifications
Word addresses
Area
CIO
WR
HR
++
Wd
OK
OK
OK
++L
Wd
Flags
Name
Error Flag
Equals Flag
Carry Flag
Negative Flag
254
Mnemonic
Variations
++
@++
++L
@++L
++
++(590)
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
OFF
=
• 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 F to 0 during execution.
• OFF in all other cases.
N
• ON if bit 15 of Wd/Wd+1 is ON after execution.
• OFF in all other cases.
Function
code
Increments the 4-digit hexadecimal content of the
590
specified word by 1.
Increments the 8-digit hexadecimal content of the
591
specified words by 1.
Subroutines
OK
Data type
++
UINT
Registers
addresses
Con-
stants
*DM
DR
*EM
OK
OK
---
---
Operation
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
+ +L
++L(591)
Wd: First word
Wd
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
++L
++
UDINT
1
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
---
OK
++L
2
TR
bits
---

Advertisement

Table of Contents
loading

Table of Contents