Delta AS Series Programming Manual page 532

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
0815- 0817 D
OR#
Device
X
Y
M
S
1
S
2
Data
type
S
1
S
2
Symbol
Taking OR& and DOR& for example
Explanation
1.
This instruction compares the data in S
instruction is met. When the comparison result is 0, the condition of the instruction is not met.
2.
Only the DOR# instruction can use the 32-bit counter.
3.
Connect the OR#instruction and the contact in parallel.
API No.
16-bit instruction
0815
0816
0817
4.
&: Logical AND operation
5.
|: Logical OR operation
6.
^: Logical exclusive OR operation
Operand
S
, S
1
S
T
C
HC
Pulse instruction
: Data source 1
S
1
: Data source 2
S
2
with that in S
1
32-bit instruction
OR&
DOR&
OR|
DOR|
OR^
DOR^
Ch ap te r 6 Ap pl ie d Instruc ti ons
Contact type of logical operation OR#
2
D
FR
SM
SR
16-bit instruction
AS
. When the comparison result is not 0, the condition of the
2
Comparison operation result
ON
S
&S
1
2
S
|S
0
1
2
S
^S
1
2
Function
E
K
16#
"$"
32-bit instruction
AS
OFF
=
S
&S
0
0
1
2
=
S
|S
0
1
2
=
S
^S
0
0
1
2
6 - 2 5 3
F
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents