Beckhoff components crasht Linuxcnc

More
2 years 1 week ago #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

Attachment not found

 I've attached the files, I used the lathe.iniThanks

Attachment not found

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
2 years 1 week ago #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

Please Log in to join the conversation.

More
2 years 1 week ago #312605 by Macwolf
 is fixed-> Test.xml
where is the error? this ethercat-conf.xml causes linuxcnc to crash. 

Attachment not found

Please Log in to join the conversation.

More
2 years 1 week ago #312624 by Aciera
Try removing

name="D1" and name="D2"

Please Log in to join the conversation.

More
2 years 1 week ago #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 to join the conversation.

More
2 years 1 week ago #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



 

Attachment not found




 

Attachment not found

Please Log in to join the conversation.

More
2 years 1 week ago #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 to join the conversation.

More
2 years 1 week ago #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 to join the conversation.

More
2 years 1 week ago #313031 by Aswin
how did you solve those errors?

Please Log in to join the conversation.

More
2 years 1 week ago #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      

Please Log in to join the conversation.

Time to create page: 0.237 seconds
Powered by Kunena Forum