Ethercat HAL driver

More
8 years 8 months ago - 8 years 8 months ago #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: 8 years 8 months ago by chimeno.
The following user(s) said Thank You: Nico2017
More
8 years 8 months ago - 8 years 8 months ago #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: 8 years 8 months ago by sirop. Reason: typo
The following user(s) said Thank You: chimeno
  • Weiler810T
  • Visitor
  • Visitor
8 years 8 months ago #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
More
8 years 8 months ago #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
More
8 years 8 months ago #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:
More
8 years 8 months ago #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
Time to create page: 2.459 seconds
Powered by Kunena Forum