Chapter 16 PLC Function ApplicationsMS300
724
Compare binary floating point number range
Continuous
execution type
Notes on operand usage:
The operand D occupies three consecutive points.
Refer to the function specifications table for each device in series
for the scope of device usage.
S
1
: Lower limit of binary floating point number in range comparison. S
2
: Upper
limit for binary floating point number in range comparison. S: Comparison of
binary floating point numerical values. D: Results of comparison, occupies three
consecutive points.
Compares binary floating point number S with the lower limit value S
1
and the
upper limit value S
2
; stores the results of comparison in D.
If the source operand S
1
or S
2
designates a constant K or H, the command
converts the constant to a binary floating point number for the purpose of
comparison.
When the lower limit S
1
is greater than the upper limit S
2
, the command uses S
1
as the lower and upper limit.
When the designated device is M0, it automatically occupies M0–M2.
When X0 = ON, the DEZCP command executes, and one of M0–M2 is ON.
When X0 = OFF, the EZCP command does not execute, and M0–M2 remains in
the X0 = OFF state.
Use the RST or ZRST command to clear the result.