Orw/Orwl - Omron CJ - INSTRUCTIONS Reference Manual

Table of Contents

Advertisement

3. Instructions

ORW/ORWL

Instruction
LOGICAL OR
DOUBLE LOGICAL OR
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
I
Input 1
1
I
Input 2
2
R
Result word
Operand Specifications
Word addresses
Area
CIO
WR
HR
I
, I
1
2
ORW
OK
OK
OK
R
I
, I
1
2
ORWL
OK
OK
OK
R
Flags
Name
Error Flag
Equals Flag
Negative Flag
440
Mnemonic
Variations
ORW
@ORW
ORWL
@ORWL
ORW
ORW(035)
I
: Input 1
I
1
1
I
: Input 2
I
2
2
R: Result word
R
Block program areas
Step program areas
OK
OK
Description
AR
T
C
DM
EM
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
Label
ER
OFF
=
• ON when the result is 0.
• OFF in all other cases.
N
• ON when the leftmost bit of R is 1.
• OFF in all other cases.
Function
code
Takes the logical OR of corresponding bits in sin-
035
gle words of word data and/or constants.
Takes the logical OR of corresponding bits in dou-
611
ble words of word data and/or constants.
Subroutines
OK
Data type
ORW
WORD
DWORD
WORD
DWORD
WORD
DWORD
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
OK
---
OK
OK
OK
---
---
Operation
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
ORWL
ORWL(611)
I
: Input 1
I
1
1
I
: Input 2
I
2
2
R: Result word
R
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
ORWL
ORW
ORWL
1
1
1
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
---
---
OK
---
---
---
2
2
2
TR
bits
---
---

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents