Or/Or Not - Omron CJ - INSTRUCTIONS Reference Manual

Table of Contents

Advertisement

3. Instructions

OR/OR NOT

Instruction
OR
OR NOT
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
---
Operand Specifications
Word addresses
Area
CIO
WR
HR
AR
OR bit
operand
OK
OK
OK
OK
OR NOT bit
operand
*1 CJ2 CPU Units only.
Flags
There are no flags affected by this instruction.
Function
OR
OR is used for a normally open bit connected in parallel. A normally open bit is configured to form a logical OR
with a logic block beginning with a LOAD or LOAD NOT instruction (connected to the bus bar or at the begin-
ning of the logic block). If there is no immediate refreshing specification, the specified bit in I/O memory is read.
If there is an immediate refreshing specification, the status of the Basic Input Unit's input terminal is read.
OR NOT
OR NOT is used for a normally closed bit connected in parallel. A normally closed bit is configured to form a
logical OR with a logic block beginning with a LOAD or LOAD NOT instruction (connected to the bus bar or at
the beginning of the logic block). If there is no immediate refreshing specification, the specified bit in I/O mem-
ory is read. If there is an immediate refreshing specification, the status of the Basic Input Unit's input terminal is
read.
144
Mnemonic
Variations
@OR, %OR,
OR
!OR, !@OR,
!%OR
@OR NOT, %OR
NOT, !OR NOT,
OR NOT
!@OR NOT,
!%OR NOT
OR
Bus bar
Block program areas
Step program areas
OK
OK
Description
---
Indirect DM/EM
@DM
T
C
DM
EM
@EM
*1
*1
OK
OK
OK
OK
Function
code
Takes a logical OR of the ON/OFF status of the
---
specified operand bit and the current execution
condition.
Reverses the status of the specified bit and takes
---
a logical OR with the current execution condition.
Subroutines
OK
Data type
BOOL
Registers
addresses
Con-
stants
*DM
DR
*EM
---
---
---
---
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
OR NOT
Bus bar
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
---
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
OK
OK
OK
TR
bits
---

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents