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

Delta Electronics VFD037CB43A-20 Руководство по эксплуатации онлайн [342/363] 460064
Chapter 14 PLC Function |C200 Series
14-57
API
218~
220
D
AND#
S1 S2
Contact Logical Operation AND#
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)
AND#
ZRSTP
32-bit command (9 STEPS)
DAND#
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. AND# (#: &, |, ^) is an operation instruction used on series contacts.
API No.
16 -bit
instruction
32 -bit
instruction
Continuity condition
No-continuity
condition
218 AND&
DAND&
S
1
& S
2
0 S
1
& S
2
=
0
219 AND| DAND| S
1
| S
2
0 S
1
| S
2
=
0
220 AND^ DAND^ 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 X0 = On and the result of logical AND operation of C0 and C10 0, Y10 =
On.
2. When X1 = Off and the result of logical OR operation of D10 and D0 0 and X1 =
On, Y11 = On will be retained.
3. When X2 = On and the result of logical XOR operation of 32-bit register D200
(D201) and 32-bit register D100 (D101) 0 or M3 = On, M50 = On.
M3
DAND
D200 D100
M50
AND
C0 C10
AND
D10 D0
SET
&
^
I
Y11
Y10
X0
X1
X2

Содержание

Скачать