EtherCAT Master Beckhoff slave not found

More
06 Sep 2026 11:30 #349382 by Schaublin12
EtherCAT Master Beckhoff slave not found was created by Schaublin12
Hello, dear forum,My name is Christoph, and I’m thinking about building a small CNC milling machine. I already have a CNC lathe with an Acorn from Centroid that works. Now I’d like to try out LinuxCNC. LinuxCNC is completely new territory for me, and I’m counting on your support. I’d like to implement the control system using EtherCAT. I have a Beckhoff EK1101 and a few input and output terminals. I’ve set up a virtual environment on my computer and followed all the steps in the YouTube video by talla83. Unfortunately, no slaves are being detected. Now I’m not sure how to proceed. Can you help me? Thank you very much in advance for your help. 
Attachments:

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

More
06 Sep 2026 15:04 #349388 by andrax
Replied by andrax on topic EtherCAT Master Beckhoff slave not found
Wenn du dir die Videos von Talla angesehen hast, denke ich du kommst aus den deutschen Raum.

Zunächst, der Screenshot sagt nicht viel aus.
Schreib mal zusammen, welche Schritte du bisher unternommen hast.
Blinken eigentlich die grünen LED am Netzwerkkabel wenn du es angesteckt hast?

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

More
06 Sep 2026 19:17 #349396 by Schaublin12
Replied by Schaublin12 on topic EtherCAT Master Beckhoff slave not found
Guten Abend andrax,
danke für deine Antwort. Inzwischen bin ich noch etwas weitergekommen. Das Beckhoff Modul wird jetzt erkannt, leider sind scheinbar die EL2004 kaputt, die ich gebraucht in eBay gekauft hatte. Das Video ist wirklich sehr gut Schritt für Schritt, dass ich das nachvollziehen kann. Am Ende geht es aber ein bisschen schnell und die Auflösung ist nicht so gut, dass man den Text lesen. Jemand müsste mich an die Hand nehmen, was ich genau in die Ethercat-conf.xml schreiben muss und in die ethercat.hal. Die Beispiele in GitHub unterscheiden sich etwas zu Talla83s Video.
 
Attachments:

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

More
07 Sep 2026 07:01 #349413 by jjdege
Replied by jjdege on topic EtherCAT Master Beckhoff slave not found
Here   you have a good example of the xml file for Beckhoff devices
Hi
The following user(s) said Thank You: andrax

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

More
07 Sep 2026 13:09 #349425 by andrax
Replied by andrax on topic EtherCAT Master Beckhoff slave not found
Thank you jjdege.
Schaublin12: du müsstest die xml nur noch etwas anpassen. So in etwa:
<masters>
  <master idx="0" appTimePeriod="1000000" refClockSyncCycles="1000">
    <slave idx="0" type="EK1101" name="Koppler"/>
    <slave idx="1" type="EL4102" name="Analog_Ausgang"/>
    <slave idx="2" type="EL1104" name="Digital_IN"/>
    <slave idx="3" type="EL1104" name="Digital_IN"/>
    </slave>
  </master>
</masters>

Die Pins findest du dann in der Halshow

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

More
07 Sep 2026 19:43 #349434 by Schaublin12
Replied by Schaublin12 on topic EtherCAT Master Beckhoff slave not found
Vielen Dank für eure Hilfe und die Zeit, die ihr für mich aufbringt. Das ist nicht selbstverständlich.
Meine xml sah schon so ähnlich aus, ich fürchte es hängt an der .hal Datei
     
Attachments:

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

More
08 Sep 2026 10:58 #349453 by andrax
Replied by andrax on topic EtherCAT Master Beckhoff slave not found
ich dachte du wüster das.
Die Namen müssen eineindeutig sein
Benenne "Digital IN" in Digital_IN_0 und Digital_IN_1 um.
oder so ähnlich 

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

More
10 Sep 2026 21:07 #349563 by Schaublin12
Replied by Schaublin12 on topic EtherCAT Master Beckhoff slave not found
Bei mir lieber nicht davon ausgehen, dass ich etwas weiß ;-). Umso mehr freue ich mich gerade, dass LinuxCNC startet und ich in der hal show meinen testweise angeschlossenen induktiven Näherungssensor sehe und dessen Zustandsänderung. Prima! Inzwischen sind meine ethercat Treiber für die Schrittmotoren angekommen, man sind die klein. Der freundliche Chinese hat mir eine dazu passende xml Datei geschickt. Wie bekomme ich die verheiratet?
 

File Attachment:

File Name: GR-EC01-V1.4.XML.xml
File Size:835 KB
 
Attachments:

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

More
11 Sep 2026 17:03 #349581 by andrax
Replied by andrax on topic EtherCAT Master Beckhoff slave not found
Das ESI File nützt dir erst mal nichts. Das ist eine Gerätebeschreibungsdatei typischerweise für Beckhoff.
Zu deinen Steppern. Hier müsstest du sagen, was das für Geräte sind und ob sie CIA402 kompakibel sind.
Wenn sie das sind, ist das implementieren relativ unproblematisch. sic.^^
Verkabeln, anstöpseln, eine Vorlage hier im Forum raussuchen und entsprechend deiner Konfiguration anpassen.
 

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

More
11 Sep 2026 19:19 #349584 by Schaublin12
Replied by Schaublin12 on topic EtherCAT Master Beckhoff slave not found
Das Teil hört auf den Namen EC1-872 siehe 2. Foto im obigen Beitrag. Laut KI sind die Treiber CIA402 kompatibel.

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

Time to create page: 0.348 seconds
Powered by Kunena Forum