Advanced Search

Search Results (Searched for: )

  • grandixximo
  • grandixximo's Avatar
Yesterday 07:39
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Now as in just recently or in the patch from last year? or reaaally recently
Also, what does the refClockSyncCycles value do and is there any baseline on what to set it at?
 

github.com/linuxcnc-ethercat/linuxcnc-et...84ef36b53f0b734eaedf
the above is my patch, which I tested on real hardware, both 
refClockSyncCycles="5"
or any other positive number, this will have linuxcnc ask the slaves to sync to it every 5 cycles, put in whatever number you need to get phased in the time frame you desire, there is a dc-phased pin which tells you when you are phased, you can link that with iocontrol.0.enable-out so that you won't be able to turn on the machine till the distributed clock is properly phased.
also working
refClockSyncCycles="-1" 
or
syncToRefClock="true"
This is working with linuxcnc drifting its own phase to sync to the slaves, this is done every cycle, it is slightly more CPU intensive, as it is happening every cycle, but will phase pretty quick and works just as well in my testing.

github.com/sittner/linuxcnc-ethercat
if you are willing to do some testing of what we are building towards, you can test Sasha's current release

github.com/sittner/linuxcnc-ethercat/tre...2ea38d79aa47a58b89f7

This I believe only works well with
refClockSyncCycles="-1" 
at the moment, more testers would be appreciated, I will do my own testing of this soon.
 
  • grandixximo
  • grandixximo's Avatar
Yesterday 07:07
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Okay, thank you.

I had already thought that the issue had something to do with packet loss when starting LinuxCNC.
However, this seems to occur during operation, which I have not yet experienced. If this work results in ethercat running more stably, I will simply wait until Sascha announces an official patch, which will likely be available via update.
Until then, I will simply stick with refClockSyncCycles="1">.
 

An official release is still a few months out, the details are been worked out, still discussing and will soon get to testing on real hardware, the objective is indeed running ethercat more reliably, the current release is non-deterministic, there is nothing you can do as a user to completely get rid of the jitter noise if you have non zero CPU latency, we will hopefully find an agreeable solution for all parties, some XML settings may require changing, will try to document it all, the problems are known, now is just about finding a solution from which all can benefit.
  • Hakan
  • Hakan
Yesterday 07:06
Replied by Hakan on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

After activation of PLL there shouldn't be any random clicks anymore.
Check dmesg if you get any errors there, it can be the network adapter too.
  • Atsu
  • Atsu
Yesterday 06:50 - Yesterday 06:57
Replied by Atsu on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

I could share my experience with this issue. Attached is a link to a video showing how the jitter sounds on StepperOnline A6 servos. This is exaggerated by disabling the synchronization. Once synchronization is enabled (syncToRefClock="true" or refClockSyncCycles="-1"), it still happens but much more rarely, just like grandixximo explained at the start of this post. Last week, I upgraded to the latest version of linuxcnc-ethercat, and am currently testing how the changes committed at the end of 2025 affect my machine configuration.

​​​https://imgur.com/a/FXSuvOS
  • Muecke
  • Muecke's Avatar
Yesterday 06:07 - Yesterday 06:07
Replied by Muecke on topic Forum Fehler, ... :-(

Forum Fehler, ... :-(

Category: Deutsch

Hallo,

das Linux habe ich noch nicht aufgesetzt :-(

Allerdings habe ich gesehen, dass du meinen User im Forum auf „Deutsch“ geändert hast. Dadurch konnte ich auf dieses Thema wieder antworten:

forum.linuxcnc.org/42-deutsch/58306-umst...-erfahrunge?start=10

Vielen Dank dafür!

Bei diesem Thema bekomme ich jedoch weiterhin eine Fehlermeldung:

forum.linuxcnc.org/additive-manufacturin...drive-gesucht#343661

Könntest du das Thema eventuell wieder zurückverschieben?

Heute Abend nach der Arbeit werde ich außerdem versuchen, das Linux so aufzusetzen, wie du es beschrieben hast.
  • Muecke
  • Muecke's Avatar
Yesterday 06:03

Umstieg von LinuxCNC + Mesa auf EtherCAT (Leadshine EL8 / Beckhoff) – Erfahrunge

Category: Deutsch

Die Motoren können mit einem zusätzlichen Geber-Kabel (mit Batteriebox) mit absoluter Positionierung genutzt werden. Dadurch "merkt" sich der Motortreiber die Position auch wenn die Hauptspannung abfällt. Auch manuelle (per Hand) Bewegungen werden erfasst und beim Einschalten weiß der Motortreiber ohne Referenzieren direkt wo er genau ist. Man muss lediglich ein Mal den Nullpunkt im Treiber setzen. Habe mich damit allerdings nicht allzu viel beschäftigt.


Oh, das ist ja cool! So etwas habe ich in einem Video von Leadshine EL8 gesehen. cool das das die A6 von www.omc-stepperonline.com auch können. 

Ich nutze die Motoren im inkrementalen Modus, der Treiber weiß also nicht wo der Motor steht, sondern nur wie viele Pulse er in die eine oder andere Richtung gedreht hat seit dem Einschalten. Hier ist also jedes Mal eine Referenzfahrt der Achsen erforderlich und diese mache ich über LinuxCNC in Verbindung mit einigen induktiven Näherungsschaltern.


Ah okay, Du nutzt also die Funktionen der Treiber nicht aktiv, sondern überlässt die Referenzierung weiterhin LinuxCNC.

Können grundsätzlich alle Treiber, die das CiA402-Profil (EtherCAT) unterstützen, so einfach eingebunden werden?


Wie muss ich mir das in der Praxis vorstellen – nehmen wir an, mein Aufbau wäre wie auf dem Bild dargestellt:

Sagt LinuxCNC dem Servo lediglich, welche Position angefahren werden soll, und der Treiber kümmert sich intern um die komplette Regelung?

Und was passiert, wenn ich z. B. über einen Gummipuffer Schlupf im System habe?  
Korrigiert der Treiber das selbstständig über den Encoder, weil Soll- und Ist-Position nicht übereinstimmen?  
Oder würde er in so einem Fall einen Fehler ausgeben, weil die gemessene Bewegung (Encoder) nicht zu den berechneten Schritt-/Zeitwerten passt?

Auch wenn Du geschrieben hast, dass Du Dich nicht intensiv mit den erweiterten Treiberfunktionen beschäftigt hast, frage ich trotzdem einmal in die Runde:

Der Treiber kann sich offenbar einen Home-Punkt merken und mit Batterie sogar seine absolute Position speichern – auch wenn die Anlage ausgeschaltet ist.

Wie läuft das dann beim Einschalten einer LinuxCNC-Maschine ab?  
Aktuell muss ich immer referenzieren.  

Melden die Treiber beim Einschalten ihre aktuelle Position inklusive Home-Information an LinuxCNC zurück, sodass die Maschine direkt als referenziert gilt?  
Könnte man theoretisch sofort loslegen?

Ich bekomme das gedanklich noch nicht ganz sauber zusammen.  
In meinem Kopf herrscht da gerade noch ziemliches Chaos – und ich weiß selbst noch nicht ganz, welche Fragen ich eigentlich genau stellen müsste.  
Das ärgert mich gerade ein gewaltig ?

vg Mücke 
  • rodw
  • rodw's Avatar
09 Mar 2026 00:38
Replied by rodw on topic Probleme mit NativeCam

Probleme mit NativeCam

Category: NativeCAM

run linuxcnc from the command line, read the error messages and try to fix them. If you can't share the message and your config here.
  • tuxcnc
  • tuxcnc
08 Mar 2026 20:23 - 08 Mar 2026 20:25

Homing not works immediatelly after launch Linuxcnc

Category: EtherCAT


Short description:
Machine is equipped with integrated ethercat servosteppers, homing by Linuxcnc, not driver internally.
Every work fine but not first homing.
When I perform homing immediatelly after launch Linuxcnc I get some errors, mostly position error.
When I wait several seconds, for the DRO values changed, homing go normally.
It is my first machine with real position feedback and I have no idea what is the reason.
This is not gmoccapy problem, axis works the same.
  • Muecke
  • Muecke's Avatar
08 Mar 2026 18:46
Replied by Muecke on topic Forum Fehler, ... :-(

Forum Fehler, ... :-(

Category: Deutsch

Okay, ich muss schauen, wie das geht. Ich melde mich, wenn ich es umgesetzt habe. 
  • tommylight
  • tommylight's Avatar
08 Mar 2026 18:38
Replied by tommylight on topic Forum Fehler, ... :-(

Forum Fehler, ... :-(

Category: Deutsch

OK. one more thing we need to test, download a Linux Mint ISO, write to USB, boot the PC from that USB in Live mode, choose English as language, log in to forum and try to post.
-
Yes, there are internal logs pointing to different locale being used and the database complaining about it, hence the above request.
Danke fuhr die geduld.
  • Muecke
  • Muecke's Avatar
08 Mar 2026 18:38

Verdrahtung Leadshine DM856 Ena+ und - bei Mesa 7i76e

Category: Deutsch

Hey, 

ich habe zwar nicht die gleichen Treiber, aber ich habe einfach 5 V draufgegeben und der Treiber war gesperrt. 
Demnach müsste nur ein digitaler Ausgang deiner Mesa-Karte auf ENA+ gelegt werden und der entsprechende GND des digitalen Ports der ESA auf ENA-. 

Wenn der digitale Port dann HIGH ist, müsste der Treiber gesperrt sein. 

Gruß Mücke 
  • Muecke
  • Muecke's Avatar
08 Mar 2026 18:31
Replied by Muecke on topic Forum Fehler, ... :-(

Forum Fehler, ... :-(

Category: Deutsch

Wie zu erwatren ist ein Fehler aufgetreten :-( 

Error
Kunena Internal Error: Please contact the site administrator to fix this issue!

 Ist eventuell etwas intern mitgeloggt worden? 

 
  • andypugh
  • andypugh's Avatar
08 Mar 2026 18:24 - 08 Mar 2026 18:41

Solving the USB Latency Dogma for HMI/MPG: Technical Feedback Request

Category: Driver Boards

Some observations:

Lots of people are using USB to Modbus convertors to control spindle VFDs, and that works OK, (it's noticably notchy doing CSS on my lathe, though)

Jepler (long-time LInuxCNC dev, but now left the project) wrote this back in 2007:
emergent.unpythonic.net/01198594294

USB is definitely adequate for any HMI interaction, otjherwise gamers wouldn't be able to use USB keyboards. (I know that _some_ insist on PS2 for less latency, but most don't)
  • andypugh
  • andypugh's Avatar
08 Mar 2026 17:57
Replied by andypugh on topic 7i97+8i20 error function not found

7i97+8i20 error function not found

Category: PnCConf Wizard

Have you tried an "fq" config (or "fqi"). That should use the Fanuc commutation for initial starting and then use the quadrature position from that point on.

Probably :-). I haven't tried it.
  • Hakan
  • Hakan
08 Mar 2026 17:51
Replied by Hakan on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Dec 27 it looks like from github. Actually, the bug shouldn't affect you.
A negative refClockSyncCycles value should switch on the PLL and synchronize servo loop time with DC time.
You can always check the lcec.pll-* hal variables. If some of them move, it's on.
refClockSyncCycles is how often the master sends a synchronization signal to the slaves to compensate for clock drift.
I use 1000 because the slaves' DC clock run pretty accurate as it is. Many people use 1 as value.
I have not seen that any number is better than the other, maybe there is, but feel free to use any number you prefer.



 
Displaying 76 - 90 out of 18311 results.
Time to create page: 0.197 seconds
Powered by Kunena Forum