EasyManua.ls Logo

Delta VP3000 Series - Page 381

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 Platform VP3000
372
API Instruction code Operand Function
215–217 D LD#
S
1
, S
2
Contact type logical operation LD#
Type
Operand
Bit devices Word devices
16-bit instruction (5 steps)
LD#
Continuous
execution
type
- -
32-bit instruction (9 steps)
DLD#
Continuous
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
, if the result 0, the continuity of the instruction is
enabled; if the result = 0, 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
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
&: logical operation with AND operator
|: Logical operation with OR operator
^: Logical operation with XOR operator
Example
C1 and C10 perform “AND” logical operation, if the result is not 0, Y10 = ON
D200 and D300 perform “OR” logical operation, if the result is not 0 and X1 = ON, then Y11 =
ON and hold.
LD
C0 C10
LD
D200 D300
SET
X1
&
I
Y11
Y10

Table of Contents

Related product manuals