FFT with real-value input signal
The sample illustrates the implementation of a spectrum calculation with the function block FB_CMA_RealFFT.
The sample is available for download from here:
RealFFT_Sample.zip
Block diagram
Program parameters
The table below shows a list of important parameters for the configuration of the
RealFFT function block.
FFT length | 2048 |
Forward calculation | TRUE |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4018 | PC or CX (x86, x64) | Tc3_CM, Tc3_CM_Base, Tc3_MultiArray |