ST_FTR_LeadLag

Configuration structure for the function block FB_FTR_PT2.

Syntax

Definition:

TYPE ST_FTR_PT2 :
STRUCT
    fT1                : LREAL;
    fT2                : LREAL;
    fSamplingRate      : LREAL;
    nOversamples       : UDINT;
    nChannels          : UDINT;
    pInitialValues     : POINTER TO LREAL;
    nInitialValuesSize : UDINT;
END_STRUCT
END_TYPE

Parameter

Name

Type

Description

fT1

LREAL

Time constant T1 in seconds (greater than zero)

fT2

LREAL

Time constant T2 in seconds (greater than zero)

fSamplingRate

LREAL

Sampling rate fs in Hz (greater than zero)

nOversamples

UDINT

Number of oversamples (greater than zero)

nChannels

UDINT

Number of channels (greater than zero and less than 101)

pInitialValues

Pointer to LREAL

Pointer to array with initial values (optional)

nInitialValuesSize

UDINT

Size of the array with initial values in BYTE (optional)