39
Figure 55 - Comparisons
Limits (particularly release coefficients)
aren’t supposed to be used with
these functions. However the PM180 device claims setting these
parameters. To do
that, there is a “Release coefficient in comparison
operations” property
that you can set via Device properties (see
3.4).
This coefficient has the value range from 0 (exclusively) to 1 (0,95 by
default). When PLC Configurator compiles logic with GE or LE functions,
it multiplies or divides to this coefficient to get operate or release limits.
To set exact (not evaluated) operate or release limits for variables use
functions
GE_THRESHOLD
and
LE_THRESHOLD.
For
detailed
information about these functions see
2.3.7 and
2.3.8. In this case
limits that are set for these functions compile to operate and release
limits directly.
In the figure below you can see an example of programming limits
using threshold functions.