Claude Fillion
Hello, I would like to know if it is possible to generate a PWM output with OPENPLC in order to activate an analog output on an Arduino DUE?

CF
Reply 0 0
thiagoralves
For all Arduino boards, any analog output is a PWM signal. Just write any value between 0-65535 to an analog output port, like %QW0 for example. Then the particular pin associated with %QW0 will produce a PWM wave with width matching your 0-65535 value.
Reply 0 0
Claude Fillion
Thanks, très apprécié !
Reply 0 0
teejanet
Is there an example of this?  
Reply 0 0
teejanet
Type of analog outputs - OpenPLC Forum (discussion.community)
Reply 0 0
Reply