Beckhoff Problem with Communication (TwinCAT, LinuxCNC)

More
11 Nov 2025 19:16 - 15 Nov 2025 07:50 #338208 by DemonClaW
Hey Guys,some of you know so much about this Topic so I hope I can find someone in the mood to help me.Im trying to make a CNC 3-Axis on Raspberry PI5 and Beckhoff, the problem is that im completly new in this topic and try to learn as much as possible but i got already stuck in the beginning. EtherCAT works fine and i got the "Koppler" and Cards but if im trying to get them into LinuxCNC like some videos teach the Programm wont start anymore

If i start i get the message: Failed to register PDO entry: No such file or directory
LCEC: master 0 PDO enty registration failed

A friend and myself checked the code 10x, and it seems that the problem starts before. I cant get the EK1100 connected to TwinCat or CodeSYS, too. Whats kind of weird to me because as i said if I try it with the "ethercat slaves" command, it knows The Ek1100 and all Cards


Thanks for everybody who can help me with this and invests some of his time for me
Last edit: 15 Nov 2025 07:50 by DemonClaW. Reason: Missing Content

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
11 Nov 2025 21:09 #338215 by tommylight
No double posting.
And fix the tittle to explain what it is about.
Thank you.
The following user(s) said Thank You: DemonClaW

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

More
15 Nov 2025 07:50 #338449 by DemonClaW
Better like that?

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

More
15 Nov 2025 08:13 #338451 by rodw
seems like the lcec file in the hal fie has an invalid path. or XML has an invalid path.
The following user(s) said Thank You: DemonClaW

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

More
15 Nov 2025 08:31 #338453 by Hakan
Only way to know is to have the xml and hal files, the error messages and some lines around them, and the last say 30 lines of the syslog.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
15 Nov 2025 13:51 #338459 by tommylight

Better like that?

Yes, thank you.

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

More
19 Nov 2025 22:55 - 19 Nov 2025 22:56 #338764 by DemonClaW
Ive already tried it on 3 different ways now,

1. A youtube Video from Talla82 (looked awsome how easy it would be....)
2. with the Instructions from you (Forum) @rodw
3. ChatGPT whats kind of ... depressing and for sure wont work

I can hang you the current lcec.conf whitch is the setup for my EK1100 hopefully you can help me correct it
Attachments:
Last edit: 19 Nov 2025 22:56 by DemonClaW.

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

More
20 Nov 2025 08:24 #338775 by Hakan
What's that? Never seen that before.
Anyway that won't work with lcec_conf, it requires a file in xml format.

Easiest way, I think, is to take the output of the command "lcec_configgen" and put that
in the ethercat-conf.xml file and use that as input to lcec-conf.

Example here to show the structure and syntax of things
github.com/dbraun1981/hal-cia402/tree/main/example
Reference to lcec and lcec_conf
github.com/linuxcnc-ethercat/linuxcnc-ethercat
 

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

More
20 Nov 2025 09:34 - 20 Nov 2025 09:37 #338778 by DemonClaW
I didnt see that either, its what i got with my last and frustraded way by using AI.
Before I did the "Thing" above I had this as .xml but that didnt work, too

I have started by doing it exactly like this : 
Attachments:
Last edit: 20 Nov 2025 09:37 by DemonClaW.

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

More
20 Nov 2025 09:43 #338782 by Hakan
Best if you show
the xml and hal files, the error messages and some lines around them, and the last say 30 lines of the syslog.

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

Time to create page: 0.153 seconds
Powered by Kunena Forum