EasyManua.ls Logo

Delta MH300 Series - Page 964

Delta MH300 Series
1030 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
Loading...
Chapter 16 PLC Function ApplicationsMH300
16-101
API
OR#
S1
S2
Contact form logical operation OR#
221–
223
D
bit device
Word device
16-bit command (5 STEP)
OR#
Continuous
execution type
32-bit command (9 STEP)
DOR#
Continuous
execution type
Flag signal: none
X
Y
M
K
H
KnX
KnY
KnM
T
C
D
S1
S2
Notes on operand usage: : &, |, ^
Refer to the function specifications table for each device in series
for the scope of device usage.
S
1
: data source device 1. S
2
: data source device 2.
This command compares the contents of S
1
and S
2
. When the result of
comparison is not 0, this command activates; when the result of comparison is 0,
this command does not activate.
The OR# command is an operation command in series with the contact.
API No.
16-bit
commands
32-bit
commands
Conditions for
activation
Conditions for
inactivation
221 OR&
D
OR&
S
1
&
S
2
0
S
1
&
S
2
=
0
222 OR|
D
OR|
S
1
|
S
2
0
S
1
|
S
2
=
0
223 OR^ DOR^
S
1
^
S
2
0
S
1
^
S
2
=
0
&: logical AND operation.
|: logical OR operation.
^: logical XOR operation.
When X1=ON and you compare the contents of C0 and C10 with the logical
AND operation, and the result is not equal to 0, then Y0=ON.
When X2 and M30 are both equal to ON, or you compare the contents of the
32-bit register D10 (D11) and the 32-bit register D20 (D21) with the logical OR
operation, and the result is not equal to 0, or you compare the contents of the
32-bit counter C235 and the 32-bit register D200 (D201) with the logical XOR
operation, and the result is not equal to 0, then M60=ON.
OR
C0 C10
DOR
D10 D20
&
I
Y0
X2
X1
M30
M60
DOR
D25
D200
^

Table of Contents

Related product manuals