Ethercat - newbie guidelines
- AlessandroT
- Offline
- Senior Member
Less
More
- Posts: 49
- Thank you received: 4
28 Aug 2021 08:49 #218972
by AlessandroT
Ethercat - newbie guidelines was created 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
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.
- Padstar
- Offline
- Senior Member
Less
More
- Posts: 44
- Thank you received: 2
31 Dec 2021 17:01 #230399
by Padstar
Replied by Padstar on topic Ethercat - newbie guidelines
Hi AlessandroT
did you ever get anywhere with your quest?
Pb
did you ever get anywhere with your quest?
Pb
Please Log in or Create an account to join the conversation.
- AlessandroT
- Offline
- Senior Member
Less
More
- Posts: 49
- Thank you received: 4
31 Dec 2021 17:32 #230402
by AlessandroT
Replied by AlessandroT on topic Ethercat - newbie guidelines
Unfortunately still nope:(
Please Log in or Create an account to join the conversation.
- Padstar
- Offline
- Senior Member
Less
More
- Posts: 44
- Thank you received: 2
31 Dec 2021 18:19 #230405
by Padstar
Replied by Padstar on topic Ethercat - newbie guidelines
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...
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.
- 3radfahrer
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 5
03 Jan 2022 09:18 #230634
by 3radfahrer
Replied by 3radfahrer on topic Ethercat - newbie guidelines
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:
Software:
Suggestion of Debug-Steps (that actually worked for me):
After Installing an configurating Etherlab you should be able to start EtherCATThe current status of the EC can be shown via
If everything is configured correctly, you should be able to see an attached slave.
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
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:
- Etherlab (www.etherlab.org/download/ethercat/) - I use version 1.5.2
- LinuxCNC EC Driver (wiki.linuxcnc.org/cgi-bin/wiki.pl?EtherCatDriver)
- LinuxCNC of course
- 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
# /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.
- Hakan
- Away
- Platinum Member
Less
More
- Posts: 498
- Thank you received: 156
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.
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.
- 3radfahrer
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 5
04 Jan 2022 21:03 - 08 Jan 2022 10:31 #230799
by 3radfahrer
Replied by 3radfahrer 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?
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
nice video
regarding the cia402
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.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10747
- Thank you received: 3543
04 Jan 2022 23:26 #230806
by rodw
There are some requirements in your hal file regarding component load order.
Replied by rodw on topic Ethercat - newbie guidelines
Yes, turning on and changing to home states is all handled for you with cia402 drives by the component.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?
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.
- Grotius
- Offline
- Platinum Member
Less
More
- Posts: 2239
- Thank you received: 1958
05 Jan 2022 04:30 - 05 Jan 2022 04:31 #230826
by Grotius
Replied by Grotius on topic Ethercat - newbie guidelines
Hi,
For info. The ethercat iso downloads following the link of Padstar:
637 github.
174 sourceforge.
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.
- 3radfahrer
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 5
07 Jan 2022 19:50 #231049
by 3radfahrer
Replied by 3radfahrer on topic Ethercat - newbie guidelines
Thanks for this info.
Then it seems to be quite similar to the implementation of my amps in combination with the generic driver
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.269 seconds