Ayano
I am a beginner with 10 days of PLC experience.

I was able to make an Arduino LED glow and am trying to make it blink and light up using PWM control, but I don't know how to do it.
If anyone knows how to do this, please let me know.

I am using LD.
Reply 0 0
thiagoralves
Any of the "analog outputs" (%QWx) on the Arduino boards are actually PWM pins. Just writing a value between 0-65535 to a %QW location will activate PWM on that specific pin. You can use the MOVE block to write to a variable located at a %QW location. The value 0-65535 indicates the width of your PWM signal, where 0 is minimal width and 65535 is maximum width
Reply 1 0
Reply