Hi rodw, thanks for your initative and efforts on this documentation
last year, I got my machine, runnung with LinuxCNC 2.8, successfully configured to run on EtherCat.
The EK1100 with some IOs are read/writeable and one axis attached to a Servo/Stepper Amplifier from "Technosoft Motion" was controllable from LinuxCNC.
Although I temporalily switched back to "parallel Port only with steppers" - I first have to tune my drive-Amps for smooth stepper-operation - I like to share my (presumably personal) obstacles I had to go File Attachment:
On my own ToDo-List is still a „clean“ documentation of my steps: my notes are containing several deadlock steps. Therefor I plan to set up an EtherCat config again on a clean machine and document my neccessary steps… Since I don‘t know which struggles were my own fault and which are actually important for your documentation, I just discribe them all.
Suggestions and improvements and further hints are welcome File Attachment:
Etherlab
after installing Etherlab, I changed the „DEVICE_MODULES“ in the /etc/default/ethercat file to „e1000e“ which resulted in a kernel-panic after reboot.The correct file that had to be changed was in /opt/etherlab/etc/ethercat.confAdditionally, the file „/opt/etherlab/etc/init.d/ethercat“ has to be modified to point on the ethercat.conf from above
Network Card
the Etherlab master didn‘t work with my onboard network adapter. I got a Intel PCI Network card (82571EB GigE Controller) that works. Supported hardware is listed on the etherlab site
www.etherlab.org/en/ethercat/hardware.php
lcec Error on LinuxCNC
startupsince both the Beckhoff EK1100 and my ServoAmps were now visible after „# ethercat slaves“, I also got a lcec-error when starting LinuxCNC. As db1981 already mentioned, after a „make clean“ and „make install“ of the linuxcnc-ethercat driver, this error was solved EtherCat
Statemachine
in order to switch the drives on, I had to go to the defined transitions from the beckhoff statemachine. The solution for me was here deep in the forum: forum.linuxcnc.org/ethercat/22346-etherc...ver?start=850#159273
Generic EC Driver
After that, it was „just“ the configuration of the generic EC-driver with the correct initial-commands for my ServoAmps, since the Technosoft Amplifiers were not natively supported yet. As far as I remember, I got them all out of TwinCAT and the esi-file from the manufacturer of the Amps.
As I said above, any hints or improvements are heartily welcome