Ethercat installation from repositories - how to step by step

More
3 years 1 week ago #283322 by rodw
You missed the last step to create a udev rule
More
3 years 1 week ago #283324 by eduard
Thanks!

And how can I automate the ethercat service?
More
3 years 1 week ago #283328 by rodw
Ethercat should start automatically on reboot once you have the udev rule and all other steps complete.
More
3 years 1 week ago #283381 by eduard
Everyting works now. Succes.

I began to blink some leds on digital outputs, but no success yet. I have EK1100, EL1008, EL2008 and have not yet found a description of its use that is easy to follow for me.

Now I have this exact output as you mention in first page:

Component Pins:
Owner Type Dir Value Name
4 u32 OUT 0x00000001 lcec.conf.master-count
4 u32 OUT 0x00000004 lcec.conf.slave-count

but no pins show up.
More
3 years 1 week ago #283383 by rodw
More
2 years 11 months ago - 2 years 11 months ago #285399 by Sockheaven
I am upgrading from LinuxCNC 2.8.0 with EtherCAT using one of the previous ISOs and was directed to this guide. I successfully installed using the standard ISO and the guide at the beginning of this thread.

I copied the previous config files (.HAL/.INI/ethercat-conf.xml) but am finding that only 1 of my axes is initializing to behaving correctly based on the control word i issue from Linux CNC.

I took outputs from both the working old PC and the output of the new PC that can only enable one axis
I was hoping someone might help me decipher the differences.  I have attached outputs of:
$ sudo dmesg -T | grep EtherCAT
$ sudo ethercat slaves

Devices/Axis order in config is: Y - X - Z
Note: Working: All 3 axes can be enabled/disabled
Failing: Y and Z are not responding over ethercat, but X enables/disables and is reading/sending position commands correctly

One thing that stands out about the new config is it appears to be trying to start EoE (EtherNet over EtherCAT), and I am just trying to use CoE (Can over EtherCAT)

I'm not sure that's root cause though, but thought it worth mentioning. Let me know if any additional info would help determining what is going on.

File Attachment:

File Name: workingethercat.txt
File Size:2 KB

File Attachment:

File Name: brokenethercat.txt
File Size:2 KB

File Attachment:

File Name: laser.hal
File Size:7 KB

File Attachment:

File Name: laser.ini
File Size:4 KB

File Attachment:

File Name: ethercat-c...1-14.xml
File Size:23 KB
Last edit: 2 years 11 months ago by Sockheaven.
Time to create page: 0.725 seconds
Powered by Kunena Forum