Chapter 16 PLC Function ApplicationsMS300
749
Contact form logical operation AND#
Continuous
execution type
Continuous
execution type
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 AND# command is an operation command in series with the contact.
Conditions for
Activation
Conditions for
Inactivation
&: logical AND operation.
|: logical OR operation.
^: logical XOR operation.
When X0 = ON and you compare the contents of C0 and C10 with the logical
AND operation, and the result is not equal to 0, then Y10 = ON.
When X1 = OFF and you compare the contents D10 and D0 with the logical OR
operation, and the result is not equal to 0, then Y11 = ON and remains in that
state.
When X2 = ON and you compare the contents of the 32-bit register D200 (D201)
and the 32-bit register D100 (D101) with the logical XOR operation, and the
result is not equal to 0 or M3 = ON, then M50 = ON.
M3
DAND
D200 D100
M50
AND
C0 C10
AND
D10 D0
SET
&
^
I
Y11
Y10
X0
X1
X2