Delta DVP-ES2 User Manual
Page 600
D V P - E S 2 / S X 2 / S S 2 / S A2 / S X 2 / S E O p e r a t i o n M a n u a l – P r o g r a m m i n g
3 - 4 8 4
API Mnemonic Operands
Function
281~
286
FAND※
Floating Point Contact Type
Comparison AND※
Controllers
ES2/EX2 SS2 SA2
SE
SX2
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
*
*
*
FAND※: 9 steps
PULSE 16-bit 32-bit
ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2
Operands:
S
1
: Source device 1 S
2
: Source device 2
Explanations:
1.
This instruction compares the content in S
1
and S
2
. Take “FAND =” for example, if the result is
“=”, the continuity of the instruction is enabled. If the result is “
≠”, the continuity of the
instruction is disabled.
2.
The user can specify the floating point value directly into operands S
1
and S
2
(e.g. F1.2) or
store the floating point value in D registers for further operation.
3. FAND※ instruction is used for serial connection with contacts.
API No.
32-bit instruction
Continuity condition
Discontinuity condition
281
FAND=
S
1
=S
2
S
1
≠S
2
282
FAND>
S
1
>S
2
S
1
≦S
2
283
FAND<
S
1
<S
2
S
1
≧S
2
284
FAND<>
S
1
≠S
2
S
1
=S
2
285
FAND<=
S
1
≦S
2
S
1
>S
2
286
FAND>=
S
1
≧S
2
S
1
<S
2
Program Example:
When X1 is OFF and the content in D100(D101) is not equal to F1.2, Y21 = ON and latched.
FAND<>
F1.2
D0
SET
Y21
X1