ST_CM_WindowStatistics_InitPars
Function-block-specific structure with initialization parameters, which are analyzed when the function block is initialized.
TYPE ST_CM_WindowStatistics_InitPars EXTENDS ST_CM_Object_InitPars :
STRUCT
nChannels : UDINT := 1; (* Number of channels. *)
nMaxWindows : UDINT := 3; (* Number of configurable windows. *)
fScaleFactor : LREAL := 3; (* Scaling factor to transform index values, for example to frequency values.)*
END_STRUCT
END_TYPEnInLengthis the length of the input array.nMaxWindowsis the maximum number of windows that can be configured. This must be at least one.fScaleFactorScaling factor to transform index values, for example to frequency values.nChannelsdefines the number of independent channels. This must be greater than zero.
Requirements
Development environment | Target platform | PLC libraries to include |
|---|---|---|
TwinCAT v3.1.4022.25 | PC or CX (x86, x64) | Tc3_CM_Base |