EasyManua.ls Logo

Delta VP3000 Series - Page 384

Delta VP3000 Series
714 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 7 Second Development PlatformVP3000
375
API Instruction code Operand Function
224–230 D
LD
S
1
, S
2
Contact type comparison LD
Type
Operand
Bit devices Word devices
16-bit instruction (5 steps)
LD
Continuous
execution
type
- -
32-bit instruction (9 steps)
DLD
C
ontinuous
execution
type
- -
Associated flag: none
X Y M K H KnX KnY KnM T C D
S
1
S
2
Caution for using operand : =, >, <, <>, ,
See the specification of each model for the scope of device’s usage.
Description
S
1
: source device 1
S
2
: source device 2
This instruction is to compare S
1
and S
2
, take API 224 (LD=) as an example, if the result is
“equal to”, the continuity of the instruction is enabled; if the result is “not equal to”, the
continuity of the instruction is disabled.
LD (: =, >, <, <>, , ) instruction is used for direct connection with busbar
API No. 16-bit instruction 32-bit instruction
Continuity
condition
Discontinuity
condition
224 LD= DLD=
S
1
= S
2
S
1
S
2
225 LD> DLD>
S
1
> S
2
S
1
S
2
226 LD< DLD<
S
1
< S
2
S
1
S
2
228 LD<> DLD<>
S
1
S
2
S
1
= S
2
229 LD<= DLD<=
S
1
S
2
S
1
> S
2
230 LD>= DLD>=
S
1
S
2
S
1
< S
2
Example
When C10 = K200, Y10 = ON.
When D200 > K-30 and X1 = ON, Y11 = ON and hold.
LD=
K200 C10
DLD>
K678493 C20
M3
Y10
LD>
D200 K-30
SET Y11
M50
X1

Table of Contents

Related product manuals