Beckhoff components crasht Linuxcnc

More
19 Oct 2024 09:20 - 19 Oct 2024 13:33 #312582 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 KB
 I've attached the files, I used the lathe.iniThanks

File Attachment:

File Name: Error_Lcec.txt
File Size:0 KB

File Attachment:

File Name: ethercat.hal
File Size:0 KB

File Attachment:

File Name: ethercat-conf.xml
File Size:2 KB
Attachments:
Last edit: 19 Oct 2024 13:33 by Macwolf.

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

More
19 Oct 2024 13:25 #312604 by kworm
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
Attachments:

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

More
19 Oct 2024 13:33 - 19 Oct 2024 14:28 #312605 by Macwolf
 is fixed-> Test.xml
where is the error? this ethercat-conf.xml causes linuxcnc to crash. 

Attachments:
Last edit: 19 Oct 2024 14:28 by Macwolf.

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

More
19 Oct 2024 16:58 #312624 by Aciera
Try removing

name="D1" and name="D2"

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

More
19 Oct 2024 17:45 #312627 by kworm
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.

More
21 Oct 2024 16:15 #312771 by Macwolf
 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 KB
Attachments:

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

More
22 Oct 2024 14:56 #312866 by Macwolf
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.

More
23 Oct 2024 20:01 #312999 by Macwolf
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
24 Oct 2024 05:21 #313031 by Aswin
how did you solve those errors?

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

More
24 Oct 2024 05:34 #313034 by Tech3
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     
Attachments:

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

Time to create page: 0.136 seconds
Powered by Kunena Forum