ST_CM_ComplexFFT_InitPars
Function block-specific structure with initialization parameters, which are analyzed when the function block is initialized.
TYPE ST_CM_ComplexFFT_InitPars EXTENDS ST_CM_Object_InitPars :
STRUCT
nFFT_Length : UDINT := 256; (* Length of FFT. *)
bForward : BOOL := TRUE; (* Flag indicating forward FFT. *)
nChannels : UDINT := 1; (* Number of channels. *)
END_STRUCT
END_TYPE
nFFT_Lengthis the length of the FFT. It must be greater than one and an integral power of two.bForwardis a Boolean parameter that specifies the direction of the FFT. If the value isTRUE, the normal FFT is calculated. Otherwise the inverse FFT is used.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 |