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

How to use BECKHOFF EL2502 PWM Module?

omeo
2017-04-25
2017-04-26
  • omeo - 2017-04-25

    Hi,
    I need to use digital PWM signal, the current selection is Beckhoff EL2502 2ch PWM module. I added a device description file, but there are only 2 channels in IO MAPPING to adjust the duty option and no option to adjust the frequency.

    I have consulted the documentation and the frequency needs to be written in the CoE cycle. I'm not quite able to understand this problem. I see EL2502 's startup Parameters with the PWM settings option to change the frequency, but I need to change the frequency with the requirements in the PLC. I suppose I could be configuring the Expert process data in EK1100. I don't quite understand how to relate it to a variable.
    
    What I want to do is similar to Schneider's FB
    
    
    EL2502 Module Documents at [https://www.beckhoff.com/english/ethercat/el2502.htm](https://www.beckhoff.com/english/ethercat/el2502.htm)
    
    Thank you.
    

    IMG: 1.png

    IMG: 2.png

    IMG: 3.png

     
  • omeo - 2017-04-25

    It looks like this setting can be used.
    I don't have a module test yet, if someone has used it, please tell me if I can use it. Does it continue to output?
    Thanks.

    IMG: 1.png

     
  • omeo - 2017-04-26

    Edwin Schwellinger hat geschrieben:
    Hi,
    either map it to the PDO's or send the SDO from your application by SDO send.
    http://store.codesys.com/ethercat-example.html
    BR
    Edwin

    Thank you very much.

     

Log in to post a comment.