xLogic SuperRelay User’s Manual
78
Output Q is set or reset depending on the difference of the actual values Ax - Ay and the
set thresholds. See the following calculation rule.
Calculation rule
If threshold On ≥Threshold Off, then:
Q = 1, if (actual value Ax - actual value Ay) > On
Q = 0, if (actual value Ax - actual value Ay)
≤Off.
If threshold On < Threshold Off, then Q = 1, falls:
On
≤ (actual value Ax - actual value Ay) < Off.
Reducing the input sensitivity of the analog comparator
You can delay the output of the analog comparator selectively by means of the "on delay"
and "off delay" SFBs. By doing so, you determine that output Q is only set if the input
trigger length Trg (= output of the analog comparator) exceeds the defined on delay time.
This way you can set a virtual hysteresis, which renders the input less sensitive to short
changes.
Particular characteristics to be noted when configuring
For help on analog block parameters, refer to the Analog value processing section.
3.4.22 Analog threshold trigger
Short description
The output is set or reset depending on two configurable thresholds (hysteresis).