Or/Or Not - Omron SYSMAC CP Series Instruction & Reference Manual

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

Advertisement

OR/OR NOT

Instruction
OR
OR NOT
Symbol
Applicable Program Areas
Area
Step program areas
Usage
OK
Operands
Operand
---
Operand Specifications
Word addresses
Area
CIO
WR
HR
OR
OK
OK
OK
OR NOT
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 log-
ical 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 memory is read. If there is an immediate refreshing specification, the status of the CPU Unit's built-
in 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 memory is read. If there is an immediate refreshing specification, the status of the
CPU Unit's built-in input terminal is read.
CP1E CPU Unit Instructions Reference Manual(W483)
Mnemonic
Variations
@OR, %OR,
OR
!OR, !@OR,
!%OR
@OR NOT, %OR
NOT, !OR NOT,
OR NOT
!@OR NOT,
!%OR NOT
OR
Bus bar
Description
---
AR
T
C
DM
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.
Bus bar
Subroutines
OK
Data type
BOOL
Indirect DM addresses
Constants
@DM
*DM
---
---
---
2 Instructions
Function
OR NOT
Interrupt tasks
OK
Size
---
CF
Pulse bits
TR bits
OK
OK
---
2-11
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents