Delta AS Series Programming Manual page 530

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
0812- 0814 D
AND#
Device
X
Y
M
S
1
S
2
Data
type
S
1
S
2
Symbol
Taking AND& and DAND& 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 DAND#instruction can use the 32-bit counter, but not the device E.
3.
Connect the AND#instruction and the contact in series.
API No.
16-bit instruction
0812
0813
0814
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
AND&
DAND&
AND|
DAND|
AND^
DAND^
Ch ap te r 6 Ap pl ie d Instruc ti ons
Contact type of logical operation AND#
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
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
6 - 2 5 1
F
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents