Delta Electronics VFD037CB43A-20 Руководство по эксплуатации онлайн [341/363] 460064

Delta Electronics VFD037CB43A-20 Руководство по эксплуатации онлайн [341/363] 460064
Chapter 14 PLC Function |C200 Series
14-56
API
215~
217
D
LD#
S1 S2
Contact Logical Operation LD#
Bit Devices Word Devices
X Y M K H KnX KnY KnM T C D
S
1
S
2
Operands: : &, |, ^
Please refer to the specifications of each model for the
range of operands.
16-bit command (5 STEPS)
LD#
ZRSTP
32-bit command (9 STEPS)
DLD#
Flag signal: none
Explanation
1. S
1
: Data source device 1 S
2
: Data source device 2
2. This instruction compares the content in S
1
and S
2
. If the result is not “0”, the
continuity of the instruction is enabled. If the result is “0”, the continuity of the
instruction is disabled.
3. LD# (#: &, |, ^) instruction is used for direct connection with BUS.
API No.
16 -bit
instruction
32 -bit
instruction
Continuity condition
No-continuity
condition
215 LD& DLD& S
1
& S
2
0 S
1
& S
2
=
0
216 LD| DLD| S
1
| S
2
0 S
1
| S
2
=
0
217 LD^ DLD^ S
1
^ S
2
0 S
1
^ S
2
=
0
4. &: Logical “AND” operation
5. |: Logical “OR operation
6. ^: Logical “XOR” operation
Example
1. When the result of logical AND operation of C0 and C10 0, Y10 = On.
2. When the result of logical OR operation of D200 and D300 0 and X1 = On,
Y11 = On will be retained.
LD
C0 C10
LD
D200 D300
SET
X1
&
I
Y11
Y10

Содержание

Скачать