- Posts: 15
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Coyote wrote: From my point of view, the real-time communication is better to be consistent. I wouldn't mix on the same network ethercat, modbus, ethernet... I would use a second NIC instead. There are few real time protocols that use ethernet as physical layer: Ethercat, Profinet, Sercos iii,..., others are non-real time and I don't see the need of implementing them in RT part.
Next, with use of Ethercat drive, you will always have to use an engineering tool provided by servo manufacturer. Each servo drive is one autonomous device, with its paramaters, you may also want to tune, adjust servo loops, etc...the connection to external world is communication (Ethercat). The PDO is choosen to suit the application needs, can be pre-prepared standard telegram or user made PDO list. Once the PDO list is choosen we need to link PC and drvie together, Bekhofff uses its own configurator while we want to have our own HAL configurator.
Now, if we stop and look arround we will notice that all Ethercat drives shall support Beckhoff TwinCAT (same is with Profinet, all drives shall support Siemens software).
Currently the proposed way is to use TwinCAT configurator to configure PDO list, so that it matches one configured in the drive and then export it in XML file and rearange it to match linuxcnc ethercat generic HAL driver, however if you use terminal blocks of Beckhoff there are already made HAL device drivers.
The only license problem as I see is that you need to reverse-engineer XML output file from TwinCAT configurator, and of course you need a licensed TwinCAT software. As I don't have the knowledge in laws, I don't understand all paragraphs in licenses declarations. With my logical thinking my modest conclusion is that we are not allowed to make a slave EtherCAT device, master use is possible as IgH sells its own kits for professionals and there is no mention about some fee to 3rd party.
As I work with Lenze servos, I tried to configure one drive with Lenze L-Force Engineer software. A nice feature is pre-prepared configuration with CIA402 drive profile telegram, I did further research over internet and have found that also Omron, Moog, Mitsubishi, Stoeber and many others support the configuration of standarized telegram named CiA402 drive profile. May this be a good start point to embed in linuxcnc, a device driver compatible for many servo drives.
Regards, Marko.
Please Log in or Create an account to join the conversation.
Oscmol wrote: Step 1: Install linux cnc
Step 2: Install the EtherCat HAL driver and were will i find this and is this for free or something i need to buy?
You will need to make a HAL file to connect the position commands from LinuxCNC to the EtherCAT HAL driver.What will i need to do inside Linux cnc to get the HAl driver to work so my drives will follow the position tha linux is sending out?
LinuxCNC tends to assume that it has control of the servo loop, but the stepper-motor configs show that this does not have to be the case.Will this system still be a closed loop so that the software is reading the postion from the drives?
When we use our drives in projects with our controller the position loop is always in the drive and the controller is just sending the position to follow, is the same princip here also?
No, all the Licenses being discussed are free (zero-cost). LinuxCNC is also Free, and the other parts all claim to be too, but their status is less clear due to the Beckhoff claims.So if i have an drive to play with and a computer i dont need to buy anything to get this to work or there is some license cost in some way?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Oscmol wrote: I work at Omron and i am working with our Ethercat systems all days long.
But i am not really shure how this is working here now, so maybe alot of stupid questions.
Please Log in or Create an account to join the conversation.