Load Compare - Delta DVP-PLC Applications Manual

Table of Contents

Advertisement

API
Mnemonic
224~
LD
D
230
Bit Devices
Type
X
Y
OP
S
1
S
2
Operands:
: Data source device 1
S
1
Explanations:
1.
See the specifications of each model for the range of operands.
2.
This instruction compares the content in S
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.
instruction
LD=
224
LD>
225
LD<
226
LD<>
228
LD<=
229
LD>=
230
4.
When 32-bit counters (C200 ~ C255) are used in this instruction for comparison, make sure to adopt 32-bit
instruction (DLD
). If 16-bit instructions (LD
indicator on the MPU panel will flash.
Program 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.
3.
When the content in C200 < K678,493 or M3 = On, M50 = On.
K200
LD=
D200
LD>
DLD> K678493 C200
M3
10-10
Operands
M
S
K
H KnX KnY KnM KnS T
*
*
*
*
*
*
PULSE
ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV
: Data source device 2
S
2
1
16 -bit
32 -bit
instruction
DLD=
DLD>
DLD<
DLD<>
DLD<=
DLD>=
C10
X1
K-30
10 Application Instructions API 200-249
Function

LoaD Compare

Word Devices
C
*
*
*
*
*
*
*
*
*
*
and S
. Take API224 (LD=) for example, if the result is "=", the
2
Continuity
condition
=S
S
1
2
>S
S
1
2
<S
S
1
2
≠S
S
1
2
≦S
S
1
2
≧S
S
1
2
) is adopted, a "program error" will occur and the ERROR
Y10
SET
Y11
M50
Controllers
ES/EX/SS SA/SX/SC EH/SV
Program Steps
LD
: 5 steps
D
E
F
*
*
*
DLD
: 9 steps
*
*
*
16-bit
No-continuity
condition
≠S
S
1
2
≦S
S
1
2
≧S
S
1
2
=S
S
1
2
>S
S
1
2
<S
S
1
2
DVP-PLC Application Manual
32-bit

Advertisement

Table of Contents
loading

Table of Contents