FB_FilterPt1

FB_FilterPt1 1:

This class, derived from FB_FilterBase, implements a filter of type PT1.

Syntax:

FUNCTION_BLOCK FB_FilterPt1 EXTENDS FB_FilterBase

FB_FilterPt1 2: Initialization parameters of the FB_init constructor

Name

Type

Description

fTau

LREAL

Filter time constant [s]

FB_FilterPt1 3: Properties

Name

Type

Access

Description

Output

LREAL

Get

The filtered value.

Tau

LREAL

Get, Set

The filter time constant [s]

FB_FilterPt1 4: Methods

Name

Description

Cyclic

Cycle method

CyclicUpdate

Cyclic transfer of a new input value.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.35

PC or CX (x64, x86)

Tc3_PlasticFunctions v3.12.4.26 or higher