- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- StepperOnline A6 EtherCAT – Servo-Tuning unter LinuxCNC / Hoher Schleppfehler
StepperOnline A6 EtherCAT – Servo-Tuning unter LinuxCNC / Hoher Schleppfehler
- Muecke
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 893
- Thank you received: 94
17 Nov 2026 14:45 #350788
by Muecke
Replied by Muecke on topic StepperOnline A6 EtherCAT – Servo-Tuning unter LinuxCNC / Hoher Schleppfehler
Hallo Hakan,die Installation mit Unterstützung der KI war eigentlich recht einfach. :-)Da ich bisher den IgH EtherCAT Master (EtherLab) verwendet habe, hat die KI mein System auf den EtherCAT Userspace Master v1.5 umgestellt.Dabei wurde Folgendes geändert:
/iBetriebsart: Kernel → Userspace
[*]Netzwerkanbindung: ec_r8169 → r8169 mit RAW-Übertragung
Leider gibt es bei der Einrichtung meiner beiden A6-Servotreiber noch Probleme.ecatsetup 0.21 erkennt die beiden Treiber zwar, ordnet ihnen aber nicht automatisch das CiA-402-Profil zu. Stattdessen wurden beide zunächst als „generic“ eingerichtet.Die KI hat daraufhin die gespeicherte YAML-Konfigurationsdatei manuell angepasst. Nachdem ich diese wieder geladen hatte, wurden beide Antriebe korrekt als CiA-402-Geräte angezeigt.
Allerdings bekomme ich die Motoren nicht dauerhaft freigegeben. :-(Beim Versuch, die Freigabe zu aktivieren, wechseln sie teilweise kurz auf „Operation enabled“, springen aber sofort wieder zurück.Zusätzlich erscheinen im Ereignisprotokoll immer wieder EtherCAT-Kommunikationsfehler wie:Ehrlich gesagt beschäftige ich mich inzwischen seit Tagen mit den Servos und bin mittlerweile wirklich mit den Nerven am Ende. Ich bin kurz davor, das ganze Projekt in die Tonne zu treten. :-(Die passenden Bilder werde ich gleich noch hochladen. Dafür muss ich allerdings erst das System wechseln.Vielleicht wäre es einfacher, wenn wir uns direkt per E-Mail austauschen könnten?
wenn das Forum errichbar ist Dann könnte ich dir auch die Konfigurationsdateien und Protokolle zuschicken.Vielen Dank für deine Unterstützung! :-)Gruß
Mücke
/iBetriebsart: Kernel → Userspace
[*]Netzwerkanbindung: ec_r8169 → r8169 mit RAW-Übertragung
Leider gibt es bei der Einrichtung meiner beiden A6-Servotreiber noch Probleme.ecatsetup 0.21 erkennt die beiden Treiber zwar, ordnet ihnen aber nicht automatisch das CiA-402-Profil zu. Stattdessen wurden beide zunächst als „generic“ eingerichtet.Die KI hat daraufhin die gespeicherte YAML-Konfigurationsdatei manuell angepasst. Nachdem ich diese wieder geladen hatte, wurden beide Antriebe korrekt als CiA-402-Geräte angezeigt.
ERROR working counter zero
WARN Datagram ... was SKIPPED
WARN ... datagrams UNMATCHEDwenn das Forum errichbar ist Dann könnte ich dir auch die Konfigurationsdateien und Protokolle zuschicken.Vielen Dank für deine Unterstützung! :-)Gruß
Mücke
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1348
- Thank you received: 497
17 Nov 2026 17:46 - 18 Nov 2026 02:20 #350791
by Hakan
Replied by Hakan on topic StepperOnline A6 EtherCAT – Servo-Tuning unter LinuxCNC / Hoher Schleppfehler
Hi Mücke,
Thanks for the detailed report, and please don't give up: we know both problems.
1. ecatsetup 0.21 has a bug that makes the A6 show up as "generic" and drop out right after "Operation enabled". I found and fixed it yesterday with a simulated A6. The A6's default PDOs don't contain 0x6060/0x6061, so 0.21 enabled the drive in operation mode 0. The fixed version writes the mode by SDO and checks it, and it recognises the A6 as a CiA 402 drive by itself.
2. "working counter zero / SKIPPED / UNMATCHED" means frames are being lost. On every such cycle ecat shuts the drives down for safety, so that alone is enough to keep the enable from holding.
Before I release the fix, I'd like to see your setup, so that the new version covers your problem too. Could you please send me:
- the report from ecatsetup: "Save report" in the Slave Status window, or "ecatsetup --report". If you can, make it right after a try where the enable dropped
- your ethercat.yaml and your INI file
- the output of:
systemctl is-enabled ethercat; systemctl is-active ethercat; lsmod | grep -E "ec_|r8169"; uname -a
(the old IgH master must not run any more, or two masters share the network card)
3. Check that you set DC mode 0x300, it's the only mode this drive supports.
Send the report to This email address is being protected from spambots. You need JavaScript enabled to view it. I'll delete this email address as soon as we have contact.
Thanks for the detailed report, and please don't give up: we know both problems.
1. ecatsetup 0.21 has a bug that makes the A6 show up as "generic" and drop out right after "Operation enabled". I found and fixed it yesterday with a simulated A6. The A6's default PDOs don't contain 0x6060/0x6061, so 0.21 enabled the drive in operation mode 0. The fixed version writes the mode by SDO and checks it, and it recognises the A6 as a CiA 402 drive by itself.
2. "working counter zero / SKIPPED / UNMATCHED" means frames are being lost. On every such cycle ecat shuts the drives down for safety, so that alone is enough to keep the enable from holding.
Before I release the fix, I'd like to see your setup, so that the new version covers your problem too. Could you please send me:
- the report from ecatsetup: "Save report" in the Slave Status window, or "ecatsetup --report". If you can, make it right after a try where the enable dropped
- your ethercat.yaml and your INI file
- the output of:
systemctl is-enabled ethercat; systemctl is-active ethercat; lsmod | grep -E "ec_|r8169"; uname -a
(the old IgH master must not run any more, or two masters share the network card)
3. Check that you set DC mode 0x300, it's the only mode this drive supports.
Send the report to This email address is being protected from spambots. You need JavaScript enabled to view it. I'll delete this email address as soon as we have contact.
Attachments:
Last edit: 18 Nov 2026 02:20 by Hakan.
Please Log in or Create an account to join the conversation.
- Muecke
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 893
- Thank you received: 94
18 Nov 2026 01:28 #350794
by Muecke
Replied by Muecke on topic StepperOnline A6 EtherCAT – Servo-Tuning unter LinuxCNC / Hoher Schleppfehler
Hallo Hakan,
die Installation mit Unterstützung der KI war eigentlich recht einfach.
Da ich bisher den IgH EtherCAT Master (EtherLab) verwendet habe, hat die KI mein System auf den EtherCAT Userspace Master v1.5 umgestellt.
Dabei wurde Folgendes geändert:
Leider gibt es bei der Einrichtung meiner beiden A6-Servotreiber noch Probleme.
ecatsetup 0.21 erkennt die beiden Treiber zwar, ordnet ihnen aber nicht automatisch das CiA-402-Profil zu. Stattdessen wurden beide zunächst als „generic“ eingerichtet.
Die KI hat daraufhin die gespeicherte YAML-Konfigurationsdatei manuell angepasst. Nachdem ich diese wieder geladen hatte, wurden beide Antriebe korrekt als CiA-402-Geräte angezeigt.
Allerdings bekomme ich die Motoren nicht dauerhaft freigegeben.
Beim Versuch, die Freigabe zu aktivieren, wechseln sie teilweise kurz auf „Operation enabled“, springen aber sofort wieder zurück.
Zusätzlich erscheinen im Ereignisprotokoll immer wieder EtherCAT-Kommunikationsfehler wie:
Ehrlich gesagt beschäftige ich mich inzwischen seit Tagen mit den Servos und bin mittlerweile wirklich mit den Nerven am Ende. Ich bin kurz davor, das ganze Projekt in die Tonne zu treten.
Die passenden Bilder werde ich gleich noch hochladen. Dafür muss ich allerdings erst das System wechseln.
Wenn das Forum dann erreichbar ist.
Vielleicht wäre es einfacher, wenn wir uns direkt per E-Mail austauschen könnten?
Dann könnte ich dir auch die Konfigurationsdateien und Protokolle zuschicken.
Vielen Dank für deine Unterstützung!
Gruß
Mücke
die Installation mit Unterstützung der KI war eigentlich recht einfach.
Da ich bisher den IgH EtherCAT Master (EtherLab) verwendet habe, hat die KI mein System auf den EtherCAT Userspace Master v1.5 umgestellt.
Dabei wurde Folgendes geändert:
- EtherCAT-Master: IgH EtherCAT → Userspace v1.5
- Betriebsart: Kernel → Userspace
- Netzwerkanbindung: ec_r8169 → r8169 mit RAW-Übertragung
Leider gibt es bei der Einrichtung meiner beiden A6-Servotreiber noch Probleme.
ecatsetup 0.21 erkennt die beiden Treiber zwar, ordnet ihnen aber nicht automatisch das CiA-402-Profil zu. Stattdessen wurden beide zunächst als „generic“ eingerichtet.
Die KI hat daraufhin die gespeicherte YAML-Konfigurationsdatei manuell angepasst. Nachdem ich diese wieder geladen hatte, wurden beide Antriebe korrekt als CiA-402-Geräte angezeigt.
Allerdings bekomme ich die Motoren nicht dauerhaft freigegeben.
Beim Versuch, die Freigabe zu aktivieren, wechseln sie teilweise kurz auf „Operation enabled“, springen aber sofort wieder zurück.
Zusätzlich erscheinen im Ereignisprotokoll immer wieder EtherCAT-Kommunikationsfehler wie:
ERROR working counter zero
WARN Datagram ... was SKIPPED
WARN ... datagrams UNMATCHEDEhrlich gesagt beschäftige ich mich inzwischen seit Tagen mit den Servos und bin mittlerweile wirklich mit den Nerven am Ende. Ich bin kurz davor, das ganze Projekt in die Tonne zu treten.
Die passenden Bilder werde ich gleich noch hochladen. Dafür muss ich allerdings erst das System wechseln.
Wenn das Forum dann erreichbar ist.
Vielleicht wäre es einfacher, wenn wir uns direkt per E-Mail austauschen könnten?
Dann könnte ich dir auch die Konfigurationsdateien und Protokolle zuschicken.
Vielen Dank für deine Unterstützung!
Gruß
Mücke
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1348
- Thank you received: 497
18 Nov 2026 02:14 - 18 Nov 2026 02:18 #350795
by Hakan
Replied by Hakan on topic StepperOnline A6 EtherCAT – Servo-Tuning unter LinuxCNC / Hoher Schleppfehler
Yes, it's a problem with the forum. Access is possible only at random times.
And large files like the capture from ecasetup can't be attached.
Let's try to use forum though. I know I would like to follow similar attempts
of others. And use email when the forum is unable, like large files.
Short recap from my side.
It's a bug that the drive was recognised as a generic drive instead of a cia402.
It is better that you report such things instead of try to fix it. It is meant to work
and I appreciate the feedback from using this drive.
Secondly, we (me and Claude) suspect you have either the old ethercat kernel master
still running or something else is interfering and making network packets drop.
Perhaps something with your system. We just want to find out why packets are being dropped.
Generate a report using the built-in function in the picture below.
This is a text file and you should be able to attach it here, maybe rename it as .txt file.
If you are okey with having it public otherwise just send it by email to me.
Also, can you run the command below and paste the output here?
That is also important information. Run the whole line in one go.
And large files like the capture from ecasetup can't be attached.
Let's try to use forum though. I know I would like to follow similar attempts
of others. And use email when the forum is unable, like large files.
Short recap from my side.
It's a bug that the drive was recognised as a generic drive instead of a cia402.
It is better that you report such things instead of try to fix it. It is meant to work
and I appreciate the feedback from using this drive.
Secondly, we (me and Claude) suspect you have either the old ethercat kernel master
still running or something else is interfering and making network packets drop.
Perhaps something with your system. We just want to find out why packets are being dropped.
Generate a report using the built-in function in the picture below.
This is a text file and you should be able to attach it here, maybe rename it as .txt file.
If you are okey with having it public otherwise just send it by email to me.
Also, can you run the command below and paste the output here?
That is also important information. Run the whole line in one go.
systemctl is-enabled ethercat; systemctl is-active ethercat; lsmod | grep -E "ec_|r8169"; uname -a Attachments:
Last edit: 18 Nov 2026 02:18 by Hakan.
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1348
- Thank you received: 497
18 Nov 2026 04:25 #350798
by Hakan
Replied by Hakan on topic StepperOnline A6 EtherCAT – Servo-Tuning unter LinuxCNC / Hoher Schleppfehler
A new release 0.23.1 is available with bug-fix for generic-cia402. github.com/MetalMusings/ecat/releases
That should fix going OP.
There is also an attempt to explain what you see with work counters, mismatched messages etc
and point to a possible cause.
Please install this bug-fix release and try again. If the slave or program misbehaves again,
create an Report file and attach here in the forum.
That should fix going OP.
There is also an attempt to explain what you see with work counters, mismatched messages etc
and point to a possible cause.
Please install this bug-fix release and try again. If the slave or program misbehaves again,
create an Report file and attach here in the forum.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- StepperOnline A6 EtherCAT – Servo-Tuning unter LinuxCNC / Hoher Schleppfehler
Time to create page: 1.041 seconds