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

Analog output for PWM

sudhakar
2022-03-01
2022-03-01
  • sudhakar

    sudhakar - 2022-03-01

    Hi All, I am trying to use PWM signal to control valve driver. Using analog input as a Pot 10kohms and analog output to driver input as command signal. This project using uControl MC4 (Enovation) through Codesys software. However, this simple program looks good in simulation and in hardware its not any progress. I don't know what I'm doing wrong. Any suggestions highly appreciate? Here is my sample program?

     
  • sgronchi

    sgronchi - 2022-03-01

    Please detail how you connect desiredDutyB02 to the hardware channel ("Outputs I/O mapping" pane), if the PWM output is enabled and if the controller reports any diagnostic such as "Open circuit", "Short circuit" and so on.

    This controller seems to have a master relay switch (that cuts outputs supply off), have you enabled it?

     
    πŸ‘
    1
    • sudhakar

      sudhakar - 2022-03-01

      Hi There, yes, that is correct. Now everything working fine. I really appreciate your input!

       

Log in to post a comment.