Chapter 16 PLC Function ApplicationsMH300
AND#
Contact form logical operation AND#
D
AND#
Continuous
execution type
-
DAND#
Continuous
execution type
-
Flag signal: none
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
#
:
Refer to the function specifications table for each device in series
for the scope of device usage.
1
: data source device 1. S
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.
API No.
Conditions for
activation
Conditions for
inactivation
218 AND&
AND&
&
&
219 AND|
AND|
|
|
220 AND^ DAND^
1
^
2
0
1
^
2
0
&: 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 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