Delta AS Series Programming Manual page 288

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
AND※
0006-0011 D
Device
X
Y
M
S
1
S
2
Data
type
S
1
S
2
Symbol
Taking AND= and DAND=
for example
Explanation
1.
These instructions compare the values in S
result is that the value in S
comparison result is that the value in S
met.
2.
Only the 32-bit instruction can use the 32-bit counter, but not the device E.
API number
0006
0007
0008
0009
0010
0011
Example
1.
When X0.0 is ON and the current value in C10 is equal to 100, Y0.10 is ON.
2.
When X0.1 is OFF and the value in D0 is not equal to -10, Y0.11 stays ON.
3.
When X0.2 is ON and the value in (D11, D10) is less than 678,493, or when M3 is ON, M50 is ON.
Operand
,S
S
1
S
T
C
HC
Pulse instruction
: Data source 1
S
1
: Data source 2
S
2
and S
. Take the AND= instruction for example. When the comparison
1
2
is equal to that in S
, the continuity condition of the instruction is met. When the
1
2
is not equal to that in S
1
16-bit
32-bit instruction
instruction
AND=
DAND=
AND<>
DAND<>
AND>
DAND>
AND>=
DAND>=
AND<
DAND<
AND<=
DAND<=
C h a p t e r 6 Ap p l i e d I n s t r u c t i o n s
Comparing values AND※
2
D
FR
SM
SR
E
16-bit instruction
AS
, the discontinuity condition of the instruction is
2
Continuity
Discontinuity
condition
=S
S
1
2
≠S
S
1
2
>S
S
1
2
≧S
S
1
2
<S
S
1
2
≦S
S
1
2
Function
K
16#
"$"
F
32-bit instruction
AS
condition
≠S
S
1
2
=S
S
1
2
≦S
S
1
2
<S
S
1
2
≧S
S
1
2
>S
S
1
2
6 - 9
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents