Ethercat HAL driver

More
01 Feb 2018 06:28 #105271 by chimeno
Replied by chimeno on topic Ethercat HAL driver

sirop wrote: Actually, I use machinekit on debian 8 with xenomai, so kernel 3.8.

The official repo sourceforge.net/p/etherlabmaster/code/ci/default/tree/devices/ has adopted drivers 8139too for up to 3.16 kernel version.

The unoffical repo sourceforge.net/u/uecasm/etherlab-patche...default/tree/#readme has some device patches for up to 4.13 kernel version.
Please report if you succeed to use these patches.



Hello Sirop,
installed again debian stretch, updated, installed new igh ethercat patching the source to work with the network card with intel chip 8255 "intel pro / 1000" with the controller "e1000e", has been a success, then I will do a few tests of synchronism in DC mode if it works better, I inform.
regards
Albert

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

More
01 Feb 2018 06:35 #105272 by chimeno
Replied by chimeno on topic Ethercat HAL driver

automata wrote: Hi sirop,
Have you installed the Igh ethercat master on stretch with preempt-rt ?
Are there any other successful attempts (other than chimeno) at running the Igh ethercat master with debian preempt-rt kernel?
Regards,
automata


hello Automata,
Installed patches not officilaes for the stretch version in i386 mode for RT-PREEMPT, no problems, you can put your procedure from 0 to see if I see where the problem is.
regards
Chimeno

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

More
08 Feb 2018 20:31 - 08 Feb 2018 20:31 #105602 by chimeno
Replied by chimeno on topic Ethercat HAL driver
Hello Sirop,
Can you help me with the code ??, I have a problem when starting "rtai_app: caught signal 11 - dumping core"
The problem comes when I try to save code lines by using the for loop (i = 0, i <LCEC_EL3773_CHANS; i ++).

been doing latency tests
I do not have much difference between "generic driver" and "e1000e" I have a solution that seems to work, even in the testing phase.

configure EL3773
cycle 1000 us

  .ini file
servo_period = 500000

.xml file
appTimePeriod = "500000" refclocksyncCycles = "1000000"

DcConf assignActivate = "730" sync0cycle = "250000" sync0shift = "50000" sync1cycle = "750000" sync1shift = "500000"

my system
linux cnc 4.9.0-5-rt-686-pae # 1 SMP PREEMPT RT Debian 4.9.65-3-deb9u2 (2018-01-04) i686 GNU / Linux

Version IgH EtherCAT 1.5.2 1a7b3f94bdef +

Thank you
Chimeno
Attachments:
Last edit: 08 Feb 2018 20:31 by chimeno.
The following user(s) said Thank You: Nico2017

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

More
09 Feb 2018 13:15 - 09 Feb 2018 13:16 #105631 by sirop
Replied by sirop on topic Ethercat HAL driver
I never worked with this slave model so it is hard to say for me what goes wrong.

I wonder however if you could apply machinekit's debugging instructions github.com/mhaberler/asciidoc-sandbox/wi...ugging-RT-components in case of preeempt rt linuxcnc.
If so, you could see what causes "rtai_app: caught signal 11 - dumping core" .
Last edit: 09 Feb 2018 13:16 by sirop. Reason: typo
The following user(s) said Thank You: chimeno

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

More
10 Feb 2018 04:33 #105689 by Weiler810T
Replied by Weiler810T on topic Ethercat HAL driver
Hello
I would like to read position data with the Beckhoff ek1100 and el5032 (endat) and make it available in linuxcnc(gmoccapy), is that possible?

Siggi

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

More
10 Feb 2018 04:59 #105690 by sirop
Replied by sirop on topic Ethercat HAL driver

Weiler810T wrote: Hello
I would like to read position data with the Beckhoff ek1100 and el5032 (endat) and make it available in linuxcnc(gmoccapy), is that possible?

Siggi


Yes. el5032 might need "a generic slave" approach.
The following user(s) said Thank You: Weiler810T

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

More
11 Feb 2018 18:57 #105757 by chimeno
Replied by chimeno on topic Ethercat HAL driver

sirop wrote: I never worked with this slave model so it is hard to say for me what goes wrong.

I wonder however if you could apply machinekit's debugging instructions github.com/mhaberler/asciidoc-sandbox/wi...ugging-RT-components in case of preeempt rt linuxcnc.
If so, you could see what causes "rtai_app: caught signal 11 - dumping core" .



hi Sirop,
thank you very much for the link is very interesting, I will study it .. I attach the last files that work well, I will continue studying ..
Attachments:

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

More
11 Feb 2018 19:01 #105759 by chimeno
Replied by chimeno on topic Ethercat HAL driver

Weiler810T wrote: Hello
I would like to read position data with the Beckhoff ek1100 and el5032 (endat) and make it available in linuxcnc(gmoccapy), is that possible?

Siggi



hello siggi,
As Sirop says it is possible and seeing the EL5032 manual has very good options.

regards
Chimeno

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

More
12 Feb 2018 04:20 #105778 by Weiler810T
Replied by Weiler810T on topic Ethercat HAL driver

chimeno wrote:

Weiler810T wrote: Hello
I would like to read position data with the Beckhoff ek1100 and el5032 (endat) and make it available in linuxcnc(gmoccapy), is that possible?

Siggi



hello siggi,
As Sirop says it is possible and seeing the EL5032 manual has very good options.

regards
Chimeno


Ok, thank you, but my programming skills are not very good, its 0,Josef :blink:

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

More
12 Feb 2018 20:54 #105801 by chimeno
Replied by chimeno on topic Ethercat HAL driver
Hello Siggi,
I do not know much about programming either, but I can help you a lot, right now I've been bundling up with a bunch of etherck modules for a year and a half, I do not have the EL5032 module but I have others and what I see at the end is always the same, these are the modules that I have running on linuxcnc:
EK1100
EK1122
EK1110
EL1098
EL2624
EL2088
EL2004
EL1004
EL9410
EL9576
EL3403
EL3773
EL9110
EL9210
AX5021
AX5203
AX5206

What project do you have in mind? as you take? what do you need?

regards
Chimeno

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

Time to create page: 0.157 seconds
Powered by Kunena Forum