Omron SYSMAC CP Series Instruction & Reference Manual page 186

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

2 Instructions
--/--L
Instruction
DECREMENT BINARY
DOUBLE DECREMENT
BINARY
Symbol
Applicable Program Areas
Area
Usage
Operands
Operand
--: Word
Wd
--L: First word
Operand Specifications
Area
CIO
WR
Wd
OK
OK
Flags
Name
Error Flag
Equals Flag
Carry Flag
Negative Flag
2-150
Mnemonic
Variations
--
@--
--L
@--L
--
--(592)
Wd: Word
Wd
Step program areas
OK
Description
Word addresses
HR
AR
T
C
OK
OK
OK
OK
Label
P_ER
OFF
P_EQ
• ON if the result is 0000/0000 0000 after execution.
• OFF in all other cases.
P_CY
• ON if a digit in Wd/Wd+1 or Wd went from 0 to F during execution.
• OFF in all other cases.
P_N
• ON if bit 15 of Wd/Wd+1 is ON after execution.
• OFF in all other cases.
Function
code
Decrements the 4-digit hexadecimal content of the
592
specified word by 1.
Decrements the 8-digit hexadecimal content of the
593
specified words by 1.
Subroutines
OK
Data type
--
UINT
UDINT
Indirect DM addresses
DM
@DM
*DM
OK
OK
OK
Operation
CP1E CPU Unit Instructions Reference Manual(W483)
Function
--L
--L(593)
Wd: First word
Wd
Interrupt tasks
OK
Size
--L
--
--L
1
Pulse
Constants
CF
bits
---
---
---
2
TR
bits
---

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents