Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
07 Apr 2026 15:36
Replied by PCW on topic Homing To Index Following Error

Homing To Index Following Error

Category: Advanced Configuration

Can you remove all intermediate joint 3  hal code and see if the problem remains?

Because of the stepwise change in encoder feedback at index any thread order problem
will cause a large following error spike with any pipeline delay on feedback or command.
  • Todd Zuercher
  • Todd Zuercher's Avatar
07 Apr 2026 15:17
Replied by Todd Zuercher on topic Homing To Index Following Error

Homing To Index Following Error

Category: Advanced Configuration

I understand that is a potential problem, but it was doing it before I added the offset comp.

The offset, is used for my temporary slaving set up, so that I can run files that only have Z axis code with both the Z and W spindles.
  • grandixximo
  • grandixximo's Avatar
07 Apr 2026 14:44
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

If there are still users with the jitter noise, and they are using my fork, please increase your Sync0shift, check your latency, try with both synctorefclock true and false, post halscope readings of the various relevant pins, and your XML ini and hal files.
Whatever is left must be software of hardware tuning issues, there maybe some network chips or some CPUs with very bad latency, that my phasing can't fix, I know it works well on my hardware, but it needs to be seen if I need to create some more Hal pins or not, some hard code values which could help with tuning the phasing process, some users might want to tune these, but I'm not sure it's worth it, if your latency is decent, the current hard coded values will work well.
  • grandixximo
  • grandixximo's Avatar
07 Apr 2026 14:22
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

@andrax
No need to apologize, just trying to understand where you were going with it.
With my fork I don't have any jitter noise when things are set as they should. Finding the issue was no easy feat, before looking at linuxcnc ethercat, hardware wise I tested with  different servos, different CPUs, different network chips, software wise, different ethercat versions, different kernels, different linuxcnc versions. Ruled out basically everything else, I knew it had to be linuxcnc-ethercat, and after putting in the time to find the issue, I am sure I found it, while before it was random, I can now reproduce it at will, and I can turn off the jitter at will, I can place the phasing in and out of the jitter with the sync0shift setting, this is correct and expected within the ethercat standard, even twincat has a default Sync0shift of 30% cycle time, and you should expect issue somewhere between 0 and 30% what issues will depend on hardware, but the standard does not want your Sync0shift in that range for a good reason, and the hardware is not supposed to work properly when you don't follow the standard, and the original code was NOT following the standard, maybe accidentally on some hardware it was ok, even a broken clock is right twice per day...

@Endian
I only use pos-cmd mode, i think velocity and torque mode can get better performance, give you more control, but require more tweaking, and I think (but not sure) any slight issue like the jitter of this topic might be absorbed by a finely tuned PID for the job.
While pos-cmd rely on PID of the servo, it's normally a general one, which will work for most applications, in my case it's very strict and quick, that's why the motor vibrates, it's trying to respect position very strictly, which usually is a good thing...
 
  • PCW
  • PCW's Avatar
07 Apr 2026 14:13 - 07 Apr 2026 14:27
Replied by PCW on topic Homing To Index Following Error

Homing To Index Following Error

Category: Advanced Configuration

Looking more carefully at the HAL  file I suspect that it has to do with the offset component
or offset thread order.

EDIT:

Don't the mux components need to be addf'ed  before the offset component?
(since their outputs are used by the offset component)

This is also suggested by the fact that this only happens on the joint with offset applied.
  • dredivan
  • dredivan
07 Apr 2026 14:10

Rotary axis backplot — centre of rotation not following WCS offset

Category: General LinuxCNC Questions

I am aware of the ! prefix in GEOMETRY — it is already set in my config (GEOMETRY = !-BXYZ).

However, as the documentation states, this provision applies for liveplots only. I am using qtdragon_hd, not AXIS. Does the ! prefix in GEOMETRY have any effect on the qtdragon_hd backplotter, or is it AXIS-specific only?
  • RotarySMP
  • RotarySMP's Avatar
07 Apr 2026 14:00
Replied by RotarySMP on topic Retrofitting a 1986 Maho MH400E

Retrofitting a 1986 Maho MH400E

Category: Milling Machines

Have you already compiled the gearbox comp? I have attached my HAL and Ini files, so you can see the pins you need to connect.

Cheers;
Mark
  • endian
  • endian's Avatar
07 Apr 2026 13:20
Replied by endian on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

The linuxcnc-ethercat current release does not respect the ethercat standard, it has time phasing issues, this is demonstrably true.
Anyone lucky enough to not experience any issue has:

Not used pos-cmd mode.

 

what do you think with not to use pos cmd mode ? do you have an unreliable experiences with them?
  • andrax
  • andrax's Avatar
07 Apr 2026 13:01
Replied by andrax on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Sorry,

It was just a thought. And no, I haven't had any jitter problems so far, despite endless restarts. I've often even had to restart the servos mid-operation (homing failure).
I'm absolutely certain that your driver is working and resolving the jitter issues.
But what if the hardware isn't compatible or is causing problems...?
I just wanted to throw that out there.

Sorry.
  • grandixximo
  • grandixximo's Avatar
07 Apr 2026 12:15
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

What are the clues supposed to point us to?
I have igc i210 advertised as supported by igh and Beckhoff.
There maybe a lot of reasons why your setup works for you, but there is only one cause for the jitter noise I was experiencing, there maybe other unrelated noises on other hardware, but the one I identified is fixed in my fork of the code.
What will figuring out why you don't have the issue get us? Did you run extensive testing with restarts looking at the halscope to prove you don't have the issue?
  • andrax
  • andrax's Avatar
07 Apr 2026 11:42
Replied by andrax on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Interesting.
My computer is an ancient IPC from 2006. Except for the SSD, everything is original hardware.
The network card, however, has an Intel chip and is Beckhoff certified.

infosys.beckhoff.com/index.php?content=..../9309844363.html&id=

Perhaps that's a clue.
  • grandixximo
  • grandixximo's Avatar
07 Apr 2026 10:48 - 07 Apr 2026 11:27
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

The linuxcnc-ethercat current release does not respect the ethercat standard, it has time phasing issues, this is demonstrably true.
Anyone lucky enough to not experience any issue has:
Incredibly low latency
Servos that somehow adjust phasing themselves further than what the Ethercat standard dictates.
CPU with instruction execution timing consistency across processes, somehow doing the phasing properly even if the code did not directly intended it.
Some servo feature that filters the commanded position.
Not used pos-cmd mode.
Not actively been looking for it, restarting 100+ times and induced high latency, and looking at Ferror and servo-thread in the halscope.


Even if some hardware is not bothered by wrong phasing, you should not blame this on the servo drives manufacturers. The software they are interfacing with demonstrably does NOT respect the communication standard.
  • Todd Zuercher
  • Todd Zuercher's Avatar
07 Apr 2026 10:15 - 07 Apr 2026 13:19
Replied by Todd Zuercher on topic Homing To Index Following Error

Homing To Index Following Error

Category: Advanced Configuration

It's the current release 2.9.7

(Edit)
Had to go look at what was actually on the machine, and it's 2.9.8 running on Debian Trixi.
  • grandixximo
  • grandixximo's Avatar
07 Apr 2026 09:37
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

I've used LeadShine and XingJie same issues with both, there may well be mitigations on the servos side for some manufacturer, but that does not mean the standard of Ethercat says they should be doing such a thing. So it's luck?
Displaying 76 - 90 out of 17365 results.
Time to create page: 0.472 seconds
Powered by Kunena Forum