Hi, I am a real newbie at this ... I have spent weeks getting the RTU modbus working, now I just need to get the PWM working so I can use that signal to obtain a 4-20mA signal to drive a triac on my solar power diverter (the engineering side is easy... but I struggle with the software).

Codesys highlights the problems I have, missing licences & and an identity problem with SoftPWM I suspect. I think the problem may be obvious to you ... but it certainly is not obvious to me where /how I get the missing bits :) I would greatly appreciate your further assistance if you can make the time. Thx. Bernard

image.png
image.png

On Sun, 3 Jan 2021 at 22:19, Ingo <forge@codesys.com> wrote:

In general:

  • define a high priority task
  • call the FB there
  • map the digital output of the FB to a GPIO output

That's it 😉

But as you might have read this thread, it seems to only work with one
output. Seems like the GPIO driver has problems with multiple outputs.


GPIOMods: more than one SoftPWM function block in one project


Sent from forge.codesys.com because you indicated interest in https://forge.codesys.com/forge/talk/forge/

To unsubscribe from further messages, please visit https://forge.codesys.com/auth/subscriptions/