Description
Provides a numeric stabilizer based on sensitivity judgment.
Function
This function block serves as a numeric stabilizer. Its output changes only if a data change is out of range, similar to COV.
When the "Output" mode is selected, if the changed data is greater than the sum of its original value and value of "COV", the output equals the input, otherwise the output remains unchanged.
When the "Trig" mode is selected, if the changed data is greater than the sum of its original value and value of "COV", a pulse signal is triggered at a width of one code-execution cycle.
Input
PIN | Description |
---|---|
Input | REAL, analog input. |
COV | REAL, a changeable value to be recognized. |
Output
PIN | Description |
---|---|
Output | REAL, analog output. |
Trig | BOOL, outputs a pulse signal with a width of one code-execution cycle. |
Example 1
Stabilize a temperature value to avoid frequent changes by setting COV to 0.5 °C.
Example 2
During fan variable frequency drive control, stabilize pressure data to avoid frequent pressure change by setting COV to 50 Pa.
Example 3
Turn on Indicator2 for one second for every 0.5 °C change in temperature (COV = 0.5).