Chapter 16 PLC Function ApplicationsMH300
FAND
Floating point number contact form compare AND*
-
-
-
-
FAND※
Continuous
execution type
-
Flag signal: none
*
*
*
*
*
*
※
:
Refer to the function specifications table for each device in series
for the scope of device usage.
1
: data source device 1. S
2
This command compares the contents of S
1
and S
2
. Taking “FAND=”
example, if the result of comparison is “equal”,
this command activates; but it
does not activate when the result is “unequal”.
The FAND* command can directly input floating point numbers
F1.2) to the S
1
and S
2
operands, or store floating point numbers in register D for
use in operations.
You can use this command directly to connect with the busbar.
API No. 32-bit commands
Conditions for
activation
Conditions for
inactivation
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
When X1=OFF, and the floating point number in register D100 (D101) is not equal
to F1.2, then Y21=ON and remains in that state.