EasyManuals Logo

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 #583 background imageLoading...
Page #583 background image
10 Application Instructions API 200-249
DVP-PLC Application Manual
10-9
API Mnemonic Operands Function
221~
223
D
OR#
Contact Logical operation OR#
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
* * * * * * * * ***
OR#: 5 steps
DOR#: 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. OR# (#: &, |, ^) is an operation instruction used on parallel contacts.
API No.
16 -bit
instruction
32 -bit
instruction
Continuity
condition
No-continuity
condition
221 OR&
DOR&
S
1
& S
2
0
S
1
& S
2
=0
222 OR|
DOR|
S
1
| S
2
0
S
1
| S
2
=0
223 OR^
DOR^
S
1
^ S
2
0
S
1
^ S
2
=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 (DOR#). If 16-bit instructions (OR#) is adopted, a “program error” will occur and the ERROR
indicator on the MPU panel will flash.
Program Example:
1. When X1 = On and the result of logical AND operation of C0 and C10 0, Y10 = On.
2. M60 will be On when X2 = On and M30 = On, or the result of logical OR operation of 32-bit register D10 (D11)
and 32-bit register D20 (D21) 0, or the result of logical XOR operation of 32-bit register D200 (D201) and
32-bit counter C235 0.
DOR
D100 D200
OR
C0 C10
DOR
D10 D20
&
^
I
Y0
X2
X1
M30
M60

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
ManufacturerDelta Electronics
ModelDVP-PLC
CategoryController
Humidity5% to 95% RH, non-condensing
Programming LanguageLadder Diagram (LD), Instruction List (IL), Sequential Function Chart (SFC)
CPU TypeVarious, depending on the specific model within the DVP series (e.g., ES2, EX2, SX2, SA2, EH3, etc.)
Operating TemperatureTypically 0°C to 55°C (32°F to 131°F)
Storage TemperatureTypically -25°C to 70°C (-13°F to 158°F)

Related product manuals