Ethercat - newbie guidelines

More
28 Aug 2021 08:49 #218972 by AlessandroT
Good morning to everyone,

As I am a completely newbie in this topic, I would like to start to play a bit with EtherCat. 
I have a spare delta driver with ethercat communication for  a 400w servo motor and I would like to see it moving with linuxcnc through ethercat . 
The future plan will be to refit a cnc with 6 axis.
Is there an updated guide somewhere from where to start to understand which hardware and software I need? 
I saw the 130pag discussion in the forum but it's a bit dispersive due to all the updates over years. 

Thanks in advance
Kind regards

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

More
31 Dec 2021 17:01 #230399 by Padstar
Hi AlessandroT

did you ever get anywhere with your quest?

Pb

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

More
31 Dec 2021 17:32 #230402 by AlessandroT
Unfortunately still nope:(

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

More
31 Dec 2021 18:19 #230405 by Padstar
ok... what stage are you at... have you got a pc and the drive and just want to get a platform for a bit of dev working...??

if so (which is the nut i've recently been trying to crack) the way i've got going is using the iso image below...

github.com/grotius-cnc/LINUX_RTOS/releases/tag/1.0.0

it worked pretty much as described. and i've got to the stage where i can see the slaves on the ethercat bus in under the hour... and that's got me quite excited..

hope this helps...

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

More
03 Jan 2022 09:18 #230634 by 3radfahrer
Hi Alessandro,

I'll try to list the components that were needed in my working setup (maybe some of the software-points are already pre-installed in the image that Padstar mentioned...)

Hardware:
  • compatible Network Interface Card
  • EC Slave like EK1100 or a EC Motor Amplifier

Software: The main Points that need to be configured in etherlab are
  • Mac-Adress of your interface card
  • the Device driver -> e1000e
  • the config file to be used

Suggestion of Debug-Steps (that actually worked for me):

After Installing an configurating Etherlab you should be able to start EtherCAT
# /opt/etherlab/etc/init.d/ethercat start
The current status of the EC can be shown via
# /opt/etherlab/etc/init.d/ethercat status

If everything is configured correctly, you should be able to see an attached slave.
$ ethercat slaves

If this works, you can go on for parametrization of the EC-Driver for LinuxCNC

Just let us know, which step you are trying to take

 
The following user(s) said Thank You: Lcvette

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

More
03 Jan 2022 10:17 #230641 by Hakan
Replied by Hakan on topic Ethercat - newbie guidelines
I'll throw in my video of when I tested Ethercat on an raspberry but it is the same for Intel.
If your Delta driver is a cia402 device this should give you a starting point.

The following user(s) said Thank You: rodw, 3radfahrer

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

More
04 Jan 2022 21:03 - 08 Jan 2022 10:31 #230799 by 3radfahrer
Hello Hakan,

nice video :)

regarding the cia402 (I unfortunately don't have one): in order to get the Amps in OP-Mode and switch the drives on, do you have to handle the statemachine manually in the hal-files, or is this all handled by the driver you installed?

edit: of course are my amps also cia402 conform. I oriented for the implementation on the beckhoff-description and skipped this part in the documentation
Last edit: 08 Jan 2022 10:31 by 3radfahrer.

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

More
04 Jan 2022 23:26 #230806 by rodw
Replied by rodw on topic Ethercat - newbie guidelines

Hello Hakan,

nice video :)

regarding the cia402 (I unfortunately don't have one): in order to get the Amps in OP-Mode and switch the drives on, do you have to handle the statemachine manually in the hal-files, or is this all handled by the driver you installed?

Yes, turning on and changing to home states is all handled for you with cia402 drives by the component.
There are some requirements in your hal file regarding component load order.
 
The following user(s) said Thank You: 3radfahrer

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

More
05 Jan 2022 04:30 - 05 Jan 2022 04:31 #230826 by Grotius
Hi,

For info. The ethercat iso downloads following the link of Padstar:

637 github.
174 sourceforge.
Last edit: 05 Jan 2022 04:31 by Grotius.

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

More
07 Jan 2022 19:50 #231049 by 3radfahrer
Thanks for this info.
Then it seems to be quite similar to the implementation of my amps in combination with the generic driver :)
The following user(s) said Thank You: tiagounderground

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

Time to create page: 0.102 seconds
Powered by Kunena Forum