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
n
oi
t
c
ur
t
s
nI
m
ar
g
ai
D
r
e
d
d
a
L
2
N
R
O
d
n
a
R
O
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
Variable
Downward
differentiation
Upward
differentiation
Variable
Variable
Variable
Variable
Variable
Downward
differentiation
Upward
differentiation
Variable
Downward
differentiation
Upward
differentiation
Variable
Variable
Variable
Variable
Variable
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.
Summary of Contents for NX-SL series
Page 8: ...CONTENTS 6 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 28: ...Sections in this Manual 26 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 98: ...2 Standard Functions 2 64 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 104: ...2 Standard Functions 2 70 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 110: ...2 Standard Functions 2 76 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 265: ...I 1 I NX series Safety Control Unit Instructions Reference Manual Z931 Index ...
Page 268: ...I 4 NX series Safety Control Unit Instructions Reference Manual Z931 Index ...
Page 269: ......