CODESYS: GEN (Function Generator) function block in CFC #codesys #plcprogramming #iec61131 #cfc

preview_player
Показать описание
-------------------------------------------------------------------------------------------------------------------------------------
In this video, I explain the way of using the Function Generator (GEN) function, which is a part of the Util library. As the first step, you need to add the library to your project. With the Gen function, you can determine the type of waveform, the amplitude, and the frequency.
In this project, a Radio Button is used to determine the type of waveform, and a Trace element is used to display the generated waveform. A slider is also used to determine the amplitude.
I have used CFC as the programming language, but you can use any of the other languages.
Рекомендации по теме
Комментарии
Автор

Hello sr. How are you. I work on robotics and there is a problem . (Smc_pos_refrance and mc_coord )
I was drag a composser and write there Smc_pos_ref that Is not accept that reference. Please help me about it

Plchouse
Автор

Ok.. Mr. Alizadeh...

I must Thank you for the work you did with all your CODESYS videos.. you have helped me more that you may know.

As for this one, I wish you have spent more time on the type of output we can expect from Radio Button selections. At 9:11 you quickly select MODE with little explanation. That is very nice for the GEN.FB but not so good for general purpose use / applications.

Otherwise.. very useful video.

tonyvivaldi
visit shbcf.ru