EasyManuals Logo
Home>Omron>Control Unit>NX-SL series

Omron NX-SL series User Manual

Omron NX-SL series
270 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #11 background imageLoading...
Page #11 background image
9
Manual Structure
NX-series Safety Control Unit Instructions Reference Manual (Z931)
Special information in this manual is classified as follows:
Additional Information
References are provided to more detailed or related information.
Version Information
Information on differences in specifications and functionality for CPU Units and EtherCAT Cou-
pler Units with different unit versions and for different versions of the Sysmac Studio is given.
Special Information
2-17
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
s
no
itcu
rt
s
n
I
m
a
r
ga
iD
re
dd
aL
2
N
RO dn
a
RO
OR and ORN
None
OR
The OR instruction takes the logical OR of the value of a specified BOOL variable and the execution
condition and outputs it to the next instruction. Use the OR instruction for a NO bit connected in parallel
with the previous instruction. Use the OR instruction to configure a logical OR between an NO bit and
one of the following: a LD or LDN instruction connected directly to the bus bar, or the logic block starting
with a LD or LDN instruction and ending with the instruction immediately before the OR instruction.
ORN
The ORN instruction takes the logical OR of the inverse of the value of a specified BOOL variable and
the execution condition and outputs it to the next instruction. Use the ORN instruction for a NC bit con-
nected in parallel with the previous instruction. Use the ORN instruction to configure a logical OR
between an NC bit and one of the following: a LD or LDN instruction connected directly to the bus bar,
or the logic block starting with a LD or LDN instruction and ending with the instruction immediately
before the ORN instruction.
The following figure shows a programming example of the OR instruction. It takes the logical OR of vari-
able A and variable B and outputs it to variable C.
OR: Takes the logical OR of the value of a BOOL variable and the execution condition.
ORN: Takes the logical OR of the inverse of the value of a BOOL variable and the execution condi-
tion.
Instruction Name FB/FUN Graphic expression ST expression
OR OR --- result:=vBool1 OR vBool2;
ORN OR NOT --- result:=vBool1 OR NOT
vBool2;
Variables
Function
Var iabl e
Downward
differentiation
Upward
differentiation
Var iabl e
Var iabl e
Var iabl e
Var iabl e
Var iabl e
Downward
differentiation
Upward
differentiation
Var iabl e
Downward
differentiation
Upward
differentiation
Var iabl e
Var iabl e
Var iabl e
Var iabl e
Var iabl e
Downward
differentiation
Upward
differentiation
B
A
C
LD instruction
Out instruction
OR instruction
Level-3
heading
Level-1
section number
Gives the number
of the section.
Level-1 heading
Level-2 heading
Level-3 heading
Manual name
This page is for illustration only. It may not literally appear in this manual.
Give the current
headings.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NX-SL series and is the answer not in the manual?

Omron NX-SL series Specifications

General IconGeneral
BrandOmron
ModelNX-SL series
CategoryControl Unit
LanguageEnglish

Related product manuals