Ethercat Servo Setup

toby
2023-09-20
2024-01-10
  • toby - 2023-09-20

    Hi Everyone,

    I have a simple project with a single servo, but its my first time using Codesys and motion, so I'm a little confused and lost, I've tried to read the tutorial online, but I'm not having much luck sorry. Can I please ask for some pointers.

    I have a ComfilePi HMI (Raspberry Pi) communicating to a Omron R88D-1SN08H-ECT amplifier. Please see the attached project file (which is better for sharing, the project file, or a archive?). This file was simply for testing the motion of the servo before anything else is tested with it.

    The project simply rotates the servo 1 rotation when called for, but the speed can vary based on user input. Nothing much fancy.

    As yet, I haven't had any servo movement, no errors on the amplifier display. How do I link the motion FBs to the physical drive?

    Thank you very much for any help you can offer. I'm sorry if I'm doing something very stupid or basic and getting it wrong.

    Have a good day.

    Toby

     
  • toby - 2024-01-10

    Hi everyone, so a little update to this, I've come back to this project in the new year, and got it working. Yeah!, However, now with the new licensing setup, I need a new SoftMotion license, but it doesn't seem to be compatible with the previous Raspberry Pi SL license.

    Has anyone had any luck with Raspberry Pi and SoftMotion_Lite? Specifically the licensing of such? My customers new installation needs to be rebooted every 30min which is causing headaches!

    Another option is to not use the SoftMotion function blocks, and control the EtherCat amplifier directly, but I'm not sure how to do so. Does anyone have a specific example project of how to control a servo without the use of the SoftMotion function blocks?

    Thanks everyone for any assistance rendered. It's very much appreciated!

    • Toby
     

Log in to post a comment.