ST_FTR_PT2oscillation

Configuration structure for the function block FB_FTR_PT2oscillation.

Syntax

Definition:

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

Parameter

Name

Type

Description

fKp

LREAL

Gain factor (greater than zero)

fT1

LREAL

Time constant T1 in seconds (greater than zero)

fTheta

LREAL

Damping factor (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)