ST_FTR_PTn
Configuration structure for the function block FB_FTR_PTn.
Syntax
Definition:
TYPE ST_FTR_PTn :
STRUCT
fKp : LREAL;
fT1 : LREAL;
nOrder : UDINT;
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) |
nOrder | UDINT | Order of the filter (1..10) |
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) |