Ethercat installation from repositories - how to step by step

More
2 years 1 month ago #310362 by bertoldo
I used it and it worked perfectly with your instructions!!!

Please Log in to join the conversation.

More
2 years 1 month ago #310819 by fly up
 Hi, I'm getting an error running the command:   
    sudo systemctl start ethercat.service
 I don't know what it is, but with that method it works on another device and on this one I'm having problems. 

Attachment not found


Any help would be appreciated.
Thanks.
 

Please Log in to join the conversation.

More
2 years 2 weeks ago #311835 by Macwolf
hello on my raspberry 5 come this Status

ethercat.service - EtherCAT Master Kernel Modules
     Loaded: loaded (/etc/systemd/system/ethercat.service; enabled; preset: enabled)
     Active: inactive (dead)

raspberrypi systemd[1]: Dependency failed for ethercat.service - EtherCAT Master Kernel Modules.
aspberrypi systemd[1]: ethercat.service: Job ethercat.service/start failed with result 'dependency'.

thank you
 

Please Log in to join the conversation.

More
2 years 2 weeks ago #311845 by BaxEDM
Hi,
Figured it is time to update my outdated (but still working) instructions for my customers and to switch to Bookworm and a newer version of LinuxCNC, so I'm now running the LinuxCNC 2.9.3 Debian 12 Bookworm PREEMPT-RT ISO.

Next is installing EtherCAT so I started this step by step instruction but get stuck in the beginning.

edmuser@edmpc:~$ sudo apt update
[sudo] password for edmuser:
Hit:1 security.debian.org/debian-security bookworm-security InRelease
Hit:2 deb.debian.org/debian bookworm InRelease                          
Hit:3 deb.debian.org/debian bookworm-updates InRelease                  
Hit:4 repository.qtpyvcp.com/apt develop InRelease                     
Get:5 download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease [1,575 B]
Err:5 download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease
  The following signatures were invalid: EXPKEYSIG A94819A7CB97A204 science:EtherLab OBS Project <science:EtherLab@build.opensuse.org>
Hit:6 www.linuxcnc.org bookworm InRelease
Fetched 1,575 B in 1s (1,603 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
93 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease: The following signatures were invalid: EXPKEYSIG A94819A7CB97A204 science:EtherLab OBS Project <science:EtherLab@build.opensuse.org>
W: Failed to fetch download.opensuse.org/repositories/scien...ebian_12/./InRelease   The following signatures were invalid: EXPKEYSIG A94819A7CB97A204 science:EtherLab OBS Project <science:EtherLab@build.opensuse.org>
W: Some index files failed to download. They have been ignored, or old ones used instead.

 

Please Log in to join the conversation.

More
2 years 2 weeks ago #311846 by Macwolf
it works fine on my Raspberry 5 after a clean install

Master0
Phase: Idle
Active: no
Slaves: 0
Ethernet devices:
Main: 2c:cf:67:15:58:57 (attached)
Link: UP
Tx frames: 22305
Tx bytes: 1338300
Rx frames: 0
Rx bytes: 0
Tx errors: 0
Tx frame rate [1/s]: 125 125 118
Tx rate [KByte/s]: 7.3 7.3 6.9
Rx frame rate [1/s]: 0 0 0
Rx rate [KByte/s]: 0.0 0.0 0.0
Common:
Tx frames: 22305
Tx bytes: 1338300
Rx frames: 0
Rx bytes: 0
Lost frames: 22305
Tx frame rate [1/s]: 125 125 118
Tx rate [KByte/s]: 7.3 7.3 6.9
Rx frame rate [1/s]: 0 0 0
Rx rate [KByte/s]: 0.0 0.0 0.0
Loss rate [1/s]: 125 125 118
Frame loss [%]: 100.0 100.0 100.0
Distributed clocks:
Reference clock: None
DC reference time: 0
Application time: 0
2000-01-01 00:00:00.000000000

Please Log in to join the conversation.

More
2 years 2 weeks ago #311856 by rodw

Please Log in to join the conversation.

More
2 years 2 weeks ago #312345 by Macwolf
Since I am new to the topic of Ethercat, here is another question. I have now installed a servo( As715N) in my test series, but what is it written as in the ethercat-conf.xml 

Attachment not found



   <master idx="0" appTimePeriod="1000000" refClockSyncCycles="-1">
    <slave idx="1" type="EK1100"/>
    <slave idx="2" type="EL1008"/>
    <slave idx="3" type="EL2008"/>
     <slave idx="4" type="AS715N"/>

is that right?

 

Please Log in to join the conversation.

More
1 year 11 months ago #313758 by AndyDM01
I would like to know what steps to take to have qtplasmac gui to work with ethercat
not trying to be lazy, just trying to avoid another 3 months delay because I could not get my ECR86 drivers to work.
rtelligent service actually helped me out and I finally had the axis moving...
I took notes of everything and I will post my findings here ...

Please Log in to join the conversation.

More
1 year 11 months ago #313787 by rodw
I would probably get a working xyz Ethercat config with axis.
Then I would use pncconf to build a qtplasmac config then merge them together by hand

You will need to work out how to sense torch voltage. I would look for an Ethercat module that sensed analog voltage.
This has been done in the past but it was before QTplasmac.

Please Log in to join the conversation.

More
1 year 11 months ago #313960 by furkanuzal
Hello. I installed ethercat following all the instructions. I can see my servo motors. But I can't do anything else. I cannot create the lcec.conf file. Please can you help? (I can't find a clear source because I use Google translate)

Please Log in to join the conversation.

Time to create page: 0.649 seconds
Powered by Kunena Forum