Is there any standard block in CoDeSys regarding analog conversion to PWM ouput.?
If not where I can get the algorithm for that.
please find attached an example, which i took from a hardware-schematic with NE555 and OPs and "translated" this to FUP as an programming exercise.
Hope this helps.
PWM.PRO [10.36 KiB]
pls check the oscat opeb source library
which you can download under w www.oscat.de w
there different pwm blocks to use with source code
Log in to post a comment.
Is there any standard block in CoDeSys regarding analog conversion to PWM ouput.?
If not where I can get the algorithm for that.
please find attached an example, which i took from a hardware-schematic with NE555 and OPs and "translated" this to FUP as an programming exercise.
Hope this helps.
PWM.PRO [10.36 KiB]
pls check the oscat opeb source library
which you can download under w www.oscat.de w
there different pwm blocks to use with source code