Chapter 16 PLC Function ApplicationsMH300
EZCP
Compare binary floating point number range
-
-
-
-
DEZCP
Continuous
execution type
DEZCPP
Flag signal: none
*
*
*
*
*
*
*
*
*
*
*
The operand D occupies three consecutive points.
Refer to the
function specifications table for each device in series for the scope
of device usage.
1
: Lower limit for binary floating point number in range comparison. S
2
limit for binary floating point number in range comparison. S: Compari
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
, a command issues to
perform comparison using the lower limit value S
1
as the upper and lower 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 remain
X0=OFF state.
Use the RST or ZRST command to clear the result.