EasyManua.ls Logo

Delta DVP-ES2 - Page 705

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-584
API
Mnemonic
Operands Function
Controllers
ES2/EX2/
EC8
SS2
SA2
SE
SX2
302~
307
D
ANDZ
Comparing contact type
absolute values ANDZ
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
ANDZ: 7 steps
DANDZ: 13 steps
S
1
*
*
*
*
*
*
*
*
*
S
2
*
*
*
*
*
*
*
*
*
S
3
*
*
*
*
*
*
*
*
*
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 S
3
: Source device 3
Explanations:
1. DVP-ES2/EX2 series PLCs whose version is 3.20/DVP-SS2 series PLCs whose version is
3.00/DVP-SA2 series PLCs whose version is 2.60/DVP-SE series PLCs whose version is
1.20/DVP-SX2 series PLCs whose version is 2.40 (or above) are supported.
The absolute value of the difference between S
1
and S
2
is compared with the absolute value of S
3
.
Take AND= for example. If the comparison result is that the absolute value of the difference
between S
1
and S
2
is equal to the absolute value of S
3
, the condition of the instruction is met. If
the comparison result is that the absolute value of the difference between S
1
and S
2
is not equal
to the absolute value of S
3
, the condition of the instruction is not met.
The instruction ANDZ is connected to a contact in series.
API No.
16-bit
instruction
32-bit
instruction
Comparison result
On
Off
302
ANDZ
DANDZ
| S
1
- S
2
|
| S
3
|
| S
1
- S
2
| | S
3
|
303
ANDZ>=
DANDZ>=
| S
1
- S
2
| | S
3
|
| S
1
- S
2
| | S
3
|
304
ANDZ
DANDZ
| S
1
- S
2
|
| S
3
|
| S
1
- S
2
| | S
3
|
305
ANDZ<=
DANDZ<=
| S
1
- S
2
| | S
3
|
| S
1
- S
2
| | S
3
|
306
ANDZ
DANDZ
| S
1
- S
2
|
| S
3
|
| S
1
- S
2
| ≠ | S
3
|
307
ANDZ<>
DANDZ<>
| S
1
- S
2
| ≠ | S
3
|
| S
1
- S
2
| | S
3
|
If the values of the most significant bits in S
1
, S
2
, and S
3
are 1, the values in S
1
, S
2
, and S
3
are
negative values.
A 32-bit counter (C200~) must be used with the 32-bit instruction DANDZ. If it is used with the
16-bit instruction ANDZ, a program error will occur, and the ERROR LED indicator on the PLC
will blink.

Table of Contents

Other manuals for Delta DVP-ES2

Related product manuals