EasyManuals Logo
Home>Delta>Controller>DVP-PLC

Delta DVP-PLC User Manual

Delta DVP-PLC
586 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
Page #582 background imageLoading...
Page #582 background image
10 Application Instructions API 200-249
DVP-PLC Application Manual
10-8
API Mnemonic Operands Function
218~
220
D AND#
Contact Logical Operation AND#
Controllers
ES/EX/SS SA/SX/SC EH/SV
Bit Devices Word Devices Program Steps Type
OP
X Y M S K H KnX KnY KnM KnS T C D E F
S
1
* * * * * * * * ***
S
2
* * * * * * * * ***
AND#: 5 steps
DAND#: 9 steps
PULSE 16-bit 32-bit
ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV
Operands:
S
1
: Data source device 1 S
2
: Data source device 2
Explanations:
1. See the specifications of each model for the range of operands.
2. This instruction compares 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.
3. AND# (#: &, |, ^) is an operation instruction used on series contacts.
API No.
16 -bit
instruction
32 -bit
instruction
Continuity
condition
No-continuity
condition
218 AND& DAND&
S1 & S20
S1 & S2=0
219 AND| DAND|
S1 | S20
S1 | S2=0
220 AND^ DAND^
S1 ^ S20
S1 ^ S2=0
4. &: Logical “AND” operation
5. |: Logical “OR” operation
6. ^: Logical “XOR” operation
7. When 32-bit counters (C200 ~ C255) are used in this instruction for comparison, make sure to adopt 32-bit
instruction (DAND#). If 16-bit instructions (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 of C0 and C10 0, Y10 = On.
2. When X1 = Off and the result of logical OR operation of D10 and D0 0 and X1 = On, Y11 = On will be retained.
3. When X2 = On and the result of logical XOR operation of 32-bit register D200 (D201) and 32-bit register D100
(D101) 0 or M3 = On, M50 = On.
M3
DAND
D200 D100
M50
AND
C0 C10
AND
D10 D0
SET
&
^
I
Y11
Y10
X0
X1
X2

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta DVP-PLC and is the answer not in the manual?

Delta DVP-PLC Specifications

General IconGeneral
BrandDelta
ModelDVP-PLC
CategoryController
LanguageEnglish

Related product manuals