No feedback from EL7041 stepper motor terminal with CODESYS3.5 SP19

2023-03-22
2023-03-24
  • toffeebonbon - 2023-03-22

    Hello everyone.

    As the title indicates I am having trouble with the communication via fieldbus between my PLC (a Kunbus RevolutionPi with RT Patch) and two stepper motor terminals EL7041.

    For a new project I would like to use CODESYS 3.5 SP 19 and the Softmotion Library 4.14.0.0. When creating the project I am using the automatic detection for EtherCAT components on the fieldbus and then change the EL7041 from the device description provided by Beckhoff to the one provided by 3S (HW Revision 24, the Terminals themselves are Rev.26).

    I can connect to the PLC and see that the fieldbus with all components is running just fine. I am however not able to either use the PLC program to simply power on the Axis (FB MC_Power remains in state "Busy" and nothing happens) or use the online configuration tool (I can click on the Power-Button but the blue light doesn't light up and the terminal doesn't power up the drive). Trying another version of the SoftMotion library changes nothing in this behavior.

    However performing the same steps in CODESYS 3.5.16.30 and Softmotion 4.11.0.0 results in a working project/ working online configuration. Unfotunately I'm unable to install Softmotion 4.14. for this version of CODESYS, the setup fails with an error because of missing dependencies.

    Did I miss a breaking change (maybe in the workflow for setting up the project) that has been introduced between SP 16 and SP19?

    Robert

     
    • mani-i4point0 - 2023-03-22

      hi,

      I think the issue is, Revolution PI support only till Codesys v3.5 SP17 version and you are trying to use v3.5 SP19.

      -
      Mani

       
      • toffeebonbon - 2023-03-23

        Hi,

        thanks for the reply. That's something I didn't consider. I will check the RevolutionPi webpage for this possibility.

        What I didn't say in the first post was that other components of the project work, like setting digital outputs, reading digital inputs and performing PLC-only tasks like switching visualizations, writing and reading various variables. My problem seems to be some edge case then.

         
  • eschwellinger

    eschwellinger - 2023-03-23

    please attach the project this should work!

     
  • hapeter - 2023-03-23

    Same problem here,
    we are using 3.5.16.4 on Codesys Control Win V3 - 32Bit with a 6-axis-robot and gripper with seven EL7041. This works without problems. Now we want to upgrade on Version 3.5.18.4 and had the same problems with MC_Power remaining in busy. I tried the Codesys Control x86 and x64 with no luck.So this is not only a problem with raspberry.

     
  • eschwellinger

    eschwellinger - 2023-03-23

    If you use MC_Power in the Motiontask (execute it below EthercatMaster) does it work to enable?
    @ I would for a test go back to 4.11.0.0 to check if the config mode works in there.
    I expect that it is not SP19 related it is more SM version related

     

    Last edit: eschwellinger 2023-03-23
  • eschwellinger

    eschwellinger - 2023-03-23

    sorry - it turned out that it seems to be a problem in the EthercatMaster on mapping the pdo's
    The workaround is to use Ethercat master version 4.2.0.0 - should be solved then with 4.5.0.0 release -> scheduled for:
    https://de.codesys.com/das-system/codesys-release-plan.html
    26.4.23

     
    πŸ‘
    1

    Last edit: eschwellinger 2023-03-23
  • toffeebonbon - 2023-03-24

    That's good news. Other good news are that I can confirm that with SP19, Softmotion 4.14.0.0 and, as @eschwellinger suggested, EtherCat 4.2.0.0 the online configuration is working. The regular communication with a PLC program works as well.
    Thanks for the quick help!

     

Log in to post a comment.