In this thesis, a function block for the Fourier analysis is described. For the purpose of testing the resonator block a function block for generating the input signal is created . The Fourier analysis is performed by the Discrete Fourier Transform (DFT). The generated signal represents a sum of four sinusoidal signals. The program allows changing the frequency and amplitude of different signal forms. An HMI interface which displays the signal components has been made in CodesysIn this thesis, a function block for Fourier analysis and a block for generating the input signal to be analyzed has been made. The function block for generating the signal was made for the purpose of testing the resonator block. For the process of the Fourier analys...