FB_BA_FltrPT1

The function block FB_BA_FltrPT1 is a first order filter.
![]() | When the function block is first called (system startup), the output fOut is automatically set to the input fIn once. |
Syntax
FUNCTION_BLOCK FB_BA_FltrPT1
VAR_INPUT
fIn : REAL;
nDampConst : UDINT;
bSetActl : BOOL;
END_VAR
VAR_OUTPUT
fOut : REAL;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
fIn | REAL | Input signal |
nDampConst | UDINT | Filter time constant [s]. Internally limited to values between 0 and 86400. |
bSetActl | BOOL | A rising edge at this input switches the output value fOut to the input value fIn. |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT 3.1 4024.35 | Tc3_BA2_Common from V2.1.20.0 |