Specifications

Chapter 3 - AsconControlLib
113
3-3-13 S2_FILTER
FB Prototype
S2_FILTER
Input parameters
Output parameters
Description
The FB is able to perform a first order filter on the signal connected as input.
Please note that the filter constant TAU has to be greater then the cycle time used
for the task where the instance of this FB is created.
Input Type Description
INPUT REAL Filter input (default value = 0.0)
TAU REAL
Filter time constant: a value of 0.0 is intended to disable
the filter action and the output will assume the input
value [s] (default value = 0.1)
Output Type Description
OUTPUT REAL Filter output (default value = 0.0)
INPUT
TAU
REAL
REAL
¡
¡
REAL OUTPUT
¡
%
TAU 1 2 3 4
0.0
63.3
86.5
95.0
98.0
100.0
TIME
OUTPUT
INPUT