FB_BA_FltrPT1

First order filter

FB_BA_FltrPT1 1:

Inputs/outputs

VAR_INPUT

lrIn         : LREAL;
udiDampConst : UDINT;
bSetActl     : BOOL;

lrIn: input signal

udiDampConst: filter time constant [s]

bSetActl: a rising edge at this input switches the output value lrOut to the input value lrIn.

VAR_OUTPUT

lrOut        : LREAL;

lrOut: filtered output signal

FB_BA_FltrPT1 2:

When the function block is first called (system startup), the output lrOut is automatically set (once) to the input lrIn.

Requirements

Development environment

Target system

required library

required supplement

TwinCAT 2.11 R3/x64

PC/CX

TcBA library from V1.0.0

TS8040 | TwinCAT Building Automation from V1.0.0