Chapter 16 PLC Function ApplicationsMH300
FLD
Floating point number contact form compare LD*
-
-
-
-
FLD※
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 “FLD=”
example, if the result of comparison is “equal”,
this command activates; but it
does not activate when the result is “unequal”.
The FLD* command can directly input floating point numbers (for instance: F1.2)
to the S
1
and S
2
operands, or store the 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
275
FLD=
S
1
=S
2
S
1
≠ S
2
276
FLD<
S
1
<S
2
S
1
≤ S
2
277
FLD>
S
1
>S
2
S
1
≥ S
2
278
FLD<>
S
1
≠ S
2
S
1
=S
2
279
FLD=>
S
1
≤ S
2
S
1
<S
2
280
FLD=<
S
1
≥ S
2
S
1
>S
2
When the floating point number in
register D200 (D201) is less than or equal to
F1.2, and X1 is activated, then contact Y21 activates and remains in that state.