Omron CS1G/H-CPUxxH Instructions Manual page 172

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Sequence Input Instructions
Description
Flags
Precautions
Example
3-3-6
OR NOT: OR NOT
Purpose
Ladder Symbol
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 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 Basic Input Unit's input terminal is read.
There are no flags affected by this instruction.
Differentiate up (@) or differentiate down (%) can be specified for OR. If differ-
entiate up (@) is specified, the execution condition is turned ON for one cycle
only after the status of the operand bit goes from OFF to ON. If differentiate
down (%) is specified, the execution condition is turned ON for one cycle only
after the status of the operand bit goes from ON to OFF.
Immediate refreshing (!) can be specified for OR. An immediate refresh
instruction updates the status of the input bit just before the instruction is exe-
cuted from the Basic Input Unit (but not for Basic Input Units on Slave Racks
or for C200H Group 2 Multi-point Input Units).
For OR, it is possible to combine immediate refreshing and up or down differ-
entiation (!@ or !%). If either of these is specified, the input is refreshed from
the Basic Input Unit just before the instruction is executed and the execution
condition is turned ON for one cycle only after the status of the operand bit
goes from OFF to ON, or from ON to OFF.
Instruction
LD
AND
AND
OR
AND
LD
AND
OR NOT
AND LD
OUT
Reverses the status of the specified bit and takes a logical OR with the current
execution condition.
Operand
000000
000001
000002
000003
000004
000005
000006
000007
---
000008
Bus bar
Section 3-3
151

Advertisement

Table of Contents
loading

Table of Contents