Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

GPIOMods.SoftPWM

kodiac
2021-06-11
2021-06-29
  • kodiac

    kodiac - 2021-06-11

    Hi!
    I'm trying to use GPIO Mods.Soft PWM to activate 2 pin GPIO. But it doesn't work properly. The two outputs do not work independently. When I change the rDutyCycle value of one output, it also changes the other output.
    Can someone help me?

     
  • Ingo

    Ingo - 2021-06-29

    Hi Kodiac,
    which PLC are you using?
    I remember, that we had such a report with the Raspberry Pi. And there it seems to be related to the GPIO driver, which has timing issues, when it's called from different tasks.

     

Log in to post a comment.