Ethercat - newbie guidelines

More
5 years 2 months ago #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 to join the conversation.

  • Padstar
  • New Member
  • New Member
More
4 years 9 months ago #230399 by Padstar
Replied by Padstar on topic Ethercat - newbie guidelines
Hi AlessandroT

did you ever get anywhere with your quest?

Pb

Please Log in to join the conversation.

More
4 years 9 months ago #230402 by AlessandroT
Unfortunately still nope:(

Please Log in to join the conversation.

  • Padstar
  • New Member
  • New Member
More
4 years 9 months ago #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...

Please Log in to join the conversation.

More
4 years 9 months ago #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
Code:
# /opt/etherlab/etc/init.d/ethercat start
The current status of the EC can be shown via
Code:
# /opt/etherlab/etc/init.d/ethercat status

If everything is configured correctly, you should be able to see an attached slave.
Code:
$ 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

 

Please Log in to join the conversation.

More
4 years 9 months ago #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.

Please Log in to join the conversation.

More
4 years 9 months ago #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

Please Log in to join the conversation.

More
4 years 9 months ago #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.
 

Please Log in to join the conversation.

More
4 years 9 months ago #230826 by Grotius
Hi,

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

637 github.
174 sourceforge.

Please Log in to join the conversation.

More
4 years 9 months ago #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 :)

Please Log in to join the conversation.

Time to create page: 0.209 seconds
Powered by Kunena Forum