Chapter 14 PLC Function
|
C200 Series
14-59
API
224~
230
D
LD
※
S1
S2
Load Compare
※
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
位
bits 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
. Take API224 (LD=) for
example, if the result is “=”, the continuity of the instruction is enabled. If the
result is “
≠
”, 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
224
LD
=
D
LD
=
S
1
=
S
2
S
1
≠
S
2
225
LD
>
D
LD
>
S
1
>
S
2
S
1
≦
S
2
226
LD
<
D
LD
<
S
1
<
S
2
S
1
≧
S
2
228
LD
<>
D
LD
<>
S
1
≠
S
2
S
1
=
S
2
229
LD
<=
D
LD
<=
S
1
≦
S
2
S
1
>
S
2
230
LD
>=
D
LD
>=
S
1
≧
S
2
S
1
<
S
2
Example
1. When the content in C10 = K200, Y10 = On.
2. When the content in D200 > K-30 and X1 = On, Y11= On will be retained.
OR
C0
C10
DOR
D10
D20
&
I
Y0
X2
X1
M30
M60
Call 1(800)985-6929 for Sales
deltaacdrives.com
sales@deltaacdrives.com
Call 1(800)985-6929 for Sales
deltaacdrives.com
sales@deltaacdrives.com