Chapter 16 PLC Function ApplicationsMS300
748
Contact form logical operation LD#
Continuous
execution type
Continuous
execution type
Notes on operand usage: #,:, &, |, ^
Refer to the function specifications table for each device in series
for the range 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.
You can use the LD# command directly to connect with the busbar
Conditions for
Activation
Conditions for
Inactivation
&: logical AND operation.
|: logical OR operation.
^: logical XOR operation.
When 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 you compare the content of D200 and D300 with the logical OR operation,
and the result is not equal to 0, and X1 = ON, then Y11 = ON and remains in that
state.
LD
C0 C10
LD
D200 D300
SET
X1
&
I
Y11
Y10