Ethercat HAL driver

More
10 years 3 months ago #77349 by zerix
Replied by zerix on topic Ethercat HAL driver
Hello, everybody. Can you help me with my problems? I have installed linuxcnc and Ethercat master follow the [url=http:// wiki.linuxcnc.org/cgi-bin/wiki.pl?EtherCatDriver][/url]. But Master can't find any slaves. I found a recommendation for solving problem at page number 2 and 3 in this topic. But it didn't help. I have servo invertore Delta ASDA-A2-E. Can anybody help me? Linux can't find this servo.

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

More
10 years 3 months ago - 10 years 3 months ago #77368 by sirop
Replied by sirop on topic Ethercat HAL driver
1. How exactly did you install?

2. What is your Linux blend and its bitness?

3. What do ethercat slaves and ethercat master yield?
Last edit: 10 years 3 months ago by sirop.

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

More
10 years 3 months ago #77371 by zerix
Replied by zerix on topic Ethercat HAL driver
First, I installed linuxcnc then installed EtherCAT realtime HAL driver follow section installation from wiki.linuxcnc.org/cgi-bin/wiki.pl?EtherCatDriver . Finnaly, I installed Ethercat master from www.etherlab.org/de/ethercat/index.php follow instruction in installation archive. I downloaded linuxcnc 2.7, then i downloaded linuxcnc 2.6. PC is 64-bit bitness. when i create coonection between master and slave, master tries to find slaves, but it can't. slave show that ethercat port switch on. ethercat green LED switch on, but there is no data exchange. mater writes that it "waiting for device(s)..." and "Link: DOWN"

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

More
10 years 3 months ago #77372 by sirop
Replied by sirop on topic Ethercat HAL driver

zerix wrote: First, I installed linuxcnc then installed EtherCAT realtime HAL driver follow section installation from wiki.linuxcnc.org/cgi-bin/wiki.pl?EtherCatDriver . Finnaly, I installed Ethercat master from www.etherlab.org/de/ethercat/index.php follow instruction in installation archive. I downloaded linuxcnc 2.7, then i downloaded linuxcnc 2.6. PC is 64-bit bitness. when i create coonection between master and slave, master tries to find slaves, but it can't. slave show that ethercat port switch on. ethercat green LED switch on, but there is no data exchange. mater writes that it "waiting for device(s)..." and "Link: DOWN"


1. Was it the installation method with deb packages from wiki.linuxcnc.org/cgi-bin/wiki.pl?EtherCatDriver ?
If so, you installed 32 bit version for wheezy which is above all of 28-Jan-2015 , so not the latest.
If this installation methods somehow succeeded, then a version of EtherLab master was also installed.

2. You write that you then installed an EtherLab master. If this part of installation also succeeded, then you might have now two concurrent versions of EtherLab masters ...

So rather begin with a clean Linux and to keep it short:
1. Install this github.com/sittner/ec-debianize .
2. Then install this github.com/sittner/linuxcnc-ethercat
The following user(s) said Thank You: zerix

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

More
10 years 3 months ago #77374 by DaPeace
Replied by DaPeace on topic Ethercat HAL driver
Hey Guys,
i want to use a EL7041 (without the 0000) to drive one axis of my mill.
The other axis are stepper-drives that get the step/dir-signal from a lpt-breakout.

I want to use the internal counter to drive the stepper and dont want to use any encoder.

Ive setup the maximum current and the voltage according the drive-specs and powersupply.
My question is: in TwinCAT i can choose predefined pdo-assigments.
What do i need to choose to use that stepperdrive in linuxcnc without encoder?

Regards, Jan

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

More
10 years 3 months ago #77375 by sirop
Replied by sirop on topic Ethercat HAL driver

DaPeace wrote: Hey Guys,
i want to use a EL7041 (without the 0000) to drive one axis of my mill.
The other axis are stepper-drives that get the step/dir-signal from a lpt-breakout.

I want to use the internal counter to drive the stepper and dont want to use any encoder.
Regards, Jan


The Pdo entries (their hex indexes) as used in EL7041 are enumerated in these lines:
github.com/sittner/linuxcnc-ethercat/blo...041_1000.c#L160-L216 .

So if your question is about changing this hardcoded PDO setup within linuxcnc-ethercat,
then you either have to edit lcec_el7041_1000.c or use a generic component setup.

If you have questions wrt generic component, feel free to ask.

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

Time to create page: 3.449 seconds
Powered by Kunena Forum