Ethercat installation from repositories - how to step by step

More
05 Nov 2022 02:13 - 05 Nov 2022 02:16 #255983 by CORBETT
unromeo21

Yes CANopen works.

Have a look at this link where Dominik (db1981) responds about it
forum.linuxcnc.org/38-general-linuxcnc-q...ible-to-refit#218931


Also, Albert Chimeno (Chimeno) wrote out a "generic" file for a CANbus application.  Take a look at this link also:
forum.linuxcnc.org/ethercat/22346-etherc...ver?start=760#146753
and take a look at this
forum.linuxcnc.org/ethercat/38338-etherc...-servo-drives#156898


Also, unless I am wrong, Albert Chimeno wrote out the code for the EL6751.  I will check and see when I get a chance.  He posted code for several Beckhoff terminals in the past.
*EDIT*
I think Chimeno did the RS232 terminal also... will have to check.
Last edit: 05 Nov 2022 02:16 by CORBETT. Reason: added info

Please Log in or Create an account to join the conversation.

More
05 Nov 2022 03:40 #255986 by CORBETT

Maybe Dominc or Corbett will come along as they are far more knowledgable than me.
 


I don't know that much LOL, only try to help and hopefully not screw someone up

Please Log in or Create an account to join the conversation.

More
05 Nov 2022 07:48 #255988 by rodw

I don't know that much LOL, only try to help and hopefully not screw someone up

[/quote]

From your last post (and others) your knowledge of ethercat is way better than mine!
I just worked out how to install it as there was no way forward on Bullseye before I started using the debs...
The beauty of this installation method is its multi platform.... I have done it on a pi but they are not easy to get lcnc and preempt_rt installed
The following user(s) said Thank You: CORBETT

Please Log in or Create an account to join the conversation.

More
08 Nov 2022 03:47 #256187 by CORBETT
Rod,
I appreciate that coming from you!!! 
The following user(s) said Thank You: tommylight, rodw

Please Log in or Create an account to join the conversation.

More
15 Nov 2022 16:23 #256780 by boyzo
I try to install ethercat on Rpi with Debian 10. Up to installing headers all went OK, but:
pi@linuxcnc:~ $ sudo apt install -y linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-5.10.74-rt54-v8
E: Couldn't find any package by glob 'linux-headers-5.10.74-rt54-v8'
E: Couldn't find any package by regex 'linux-headers-5.10.74-rt54-v8'

Please help.

Please Log in or Create an account to join the conversation.

More
15 Nov 2022 17:15 #256784 by rodw
How did you install Debian? From here? raspi.debian.net/tested-images/  or from an image on the forum? OR just the Raspberian image?
Is it a Pi4?
The Pi is  different. You could try just  sudo apt install -y linux-headers
Expect to get more errors... you are probably on your own but it can be done.

 

Please Log in or Create an account to join the conversation.

More
15 Nov 2022 17:36 #256788 by boyzo
OK, I see.

I installed on Rpi4 image from the forum.
But I will probably forget about Pi and install on some other machine.

Thanks
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

More
20 Nov 2022 12:56 #257161 by mwc
Could somebody clarify something for a relative noob, are these instructions starting from a clean install using the Debian 10 Buster preempt-rt ISO?

I'm just wanting to check, as my new test computer should be here in the next couple of days, so just want to ensure I download the correct starting point.

Please Log in or Create an account to join the conversation.

More
20 Nov 2022 17:44 #257168 by rodw
Yes this works for Debian 10 out of the box but we also show you how to change the keyring statement to install on Debian 11 (bookworm) and Debian 12 (testing)
The following user(s) said Thank You: mwc

Please Log in or Create an account to join the conversation.

More
22 Nov 2022 21:59 #257385 by foxington
Hello folks,

can anybody make me clear what means this distributed clock row in .xml config file means please? for example ... 
<dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0"/>

I am searching more information because I want to tune up DC config by picture in the attachments. All that I know that DC should be placed before any first slave which has DC option in the .xml file.

Which value should be in assignActivate = ??? please?

Thanks foxington
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.251 seconds
Powered by Kunena Forum