EasyManua.ls Logo

Delta DVP-ES2 - Page 679

Delta DVP-ES2
1006 pages
Print Icon
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...
DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
3-558
API
Mnemonic Operands Function
Controllers
ES2/EX2
/EC5
SS2
SA2
SE
SX2
218~
220
D
AND#
Serial Type Logic Operation
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
AND#: 5 steps
DAND#: 9 steps
S
1
*
*
*
*
*
*
*
*
*
*
*
S
2
*
*
*
*
*
*
*
*
*
*
*
PULSE
16-bit
32-bit
ES2/
EX2/
EC5
SS2
SA2/
SE
SX2
ES2/
EX2/
EC5
SS2
SA2/
SE
SX2
ES2/
EX2/
EC5
SS2
SA2/
SE
SX2
Operands:
S
1
: Source device 1 S
2
: Source device 2
Explanation:
1. This instruction conducts logic operation between 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.
AND# (#: &, |, ^) instruction is used for serial connection with contacts.
API No.
16 -bit
instruction
32 -bit
instruction
Continuity
condition
Discontinuity
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
Operation:
& : Logic “AND” operation, | : Logic “OR” operation, ^ : Logic “XOR” operation
When 32-bit counters (C200 ~ C254) are used in this instruction, make sure to adopt 32-bit
instruction (DAND#). If 16-bit instruction (AND#) is adopted, a “program error” will occur and the
ERROR indicator on the MPU panel will flash
Program Example:
1. When X0 = ON, and the result of logical AND operation between C0 and C10 0, Y20 = ON
When X1 = OFF, and the result of logical OR operation between D10 and D0 0, Y21 = ON and
latched
AND
C0 C10
AND
D10 D0
SET
&
|
Y21
Y20
X0
X1

Table of Contents

Other manuals for Delta DVP-ES2

Related product manuals