Beckhoff components crasht Linuxcnc

  • Macwolf
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 2 weeks ago - 2 years 2 weeks ago #312582 by Macwolf
Beckhoff components crasht Linuxcnc was created by Macwolf
 Hello I've been trying to get the Beckhoff components to start for a few days, with very little success.What I did was set up the Raspberry 5, installed Ethercat and made my first attempts with the components.What components: EC AC Servo, EK1100 (cheap on eBay) EL1008 (also cheap)Connected:Servo slave0EK1100 Slave1Only the servo then starts my Linux configuration with various lcec pinsAs soon as the Beckhoff comes into play, it crashes.I made a test xml, can someone tell me if the structure is correct? I don't really know if the various values ​​are correct 
error fixed

File Attachment:

File Name: Test.xml
File Size:1.2 KB
 I've attached the files, I used the lathe.iniThanks

File Attachment:

File Name: Error_Lcec.txt
File Size:259 B

File Attachment:

File Name: ethercat.hal
File Size:116 B

File Attachment:

File Name: ethercat-conf.xml
File Size:2.17 KB
Last edit: 2 years 2 weeks ago by Macwolf.

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

More
2 years 2 weeks ago #312604 by kworm
Replied by kworm on topic Beckhoff components crasht Linuxcnc
Hi,

I tried opening your ethercat-conf.xml and it has invalid syntax...see attached screenshot.  Try fixing that and see if it works.

K

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

  • Macwolf
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 2 weeks ago - 2 years 2 weeks ago #312605 by Macwolf
Replied by Macwolf on topic Beckhoff components crasht Linuxcnc
 is fixed-> Test.xml
where is the error? this ethercat-conf.xml causes linuxcnc to crash. 

Last edit: 2 years 2 weeks ago by Macwolf.

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

More
2 years 2 weeks ago #312624 by Aciera
Replied by Aciera on topic Beckhoff components crasht Linuxcnc
Try removing

name="D1" and name="D2"

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

More
2 years 2 weeks ago #312627 by kworm
Replied by kworm on topic Beckhoff components crasht Linuxcnc
I have name= statements in my ethercat conf for Beckhoff stuff but they are the last entry ie

<slave idx="0" type="EK1100" name="1000_EK1100"/>

But I think your problem may be the quotes around the name...they look different than the rest of the quotes. I don't use geany so maybe it's just a code highlight thing.

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

  • Macwolf
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 week ago #312771 by Macwolf
Replied by Macwolf on topic Beckhoff components crasht Linuxcnc
 Hallo thanks for the suggestions, it didn't help, I'll approach the matter the other way round, from the servo side. I'll stay here in the post and not open a new one.the sevo is connected and has a connection to the Raspberry, the display shows 28rd, when I start Linuxcnc the emergency stop is activated and cannot be changed? the display then shows 48rd. I read the memory on the console with siitool and it worked without any problems. the 3 files are in the zip. can someone help me?
thanks Markus



 


 

File Attachment:

File Name: inihal.zip
File Size:4.11 KB

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

  • Macwolf
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 week ago #312866 by Macwolf
Replied by Macwolf on topic Beckhoff components crasht Linuxcnc
hello
<slave idx="0" type="generic" vid="00004321" pid="000010c2" configPdos="true">

what does this line mean
what is vid,pid?

thanks

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

  • Macwolf
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 week ago #312999 by Macwolf
Replied by Macwolf on topic Beckhoff components crasht Linuxcnc
Anyone who can read has a clear advantage. vid&pid means vendor ID and product code. And these are specific to the hardware. Well, one step further. Lcnc also starts now but nothing happens, so let's keep looking.

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

More
2 years 1 week ago #313031 by Aswin
Replied by Aswin on topic Beckhoff components crasht Linuxcnc
how did you solve those errors?

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

More
2 years 1 week ago #313034 by Tech3
Replied by Tech3 on topic Beckhoff components crasht Linuxcnc
Hi Macwolf,
I appreciate your work and insights! I’m currently trying to connect EtherCAT with LinuxCNC using EtherCAT-master. I followed the steps outlined in the link below, but I’m running into an issue when attempting to load the lcec_conf file in LinuxCNC.

I receive the following error message:
./custom.hal:4 /home/cnc/linuxcnc-ethercat/src/lcec_conf exited without becoming ready

 As a beginner in troubleshooting these types of issues, I would greatly appreciate any guidance you can provide. If possible, could you also share the steps you followed?
Thank you!
forum.linuxcnc.org/ethercat/49771-etherc...ce-full-instructions      

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

Time to create page: 0.091 seconds
Powered by Kunena Forum