Advanced Search

Search Results (Searched for: )

  • Aciera
  • Aciera's Avatar
15 Mar 2026 14:38

buildbot.linuxcnc.org is not active, how install linuxcnc 2.10 in debian buster

Category: General LinuxCNC Questions

@rodw
Not sure what to think of this. I don't have a problem with you providing paid support for linuxcnc but please do not (ab)use your posts on this forum for blatant advertisement.
Thank you.
  • hmnijp
  • hmnijp
15 Mar 2026 14:24
Replied by hmnijp on topic Again about HOME_INDEX in step/dir mode

Again about HOME_INDEX in step/dir mode

Category: StepConf Wizard

 Does it mean that in the firmware the encoder index is untied from the counter?
I will try to implement this using the GPT chat


A quick note to make it easier to find:
Instead of
“hm2_board.0.encoder.1.index-enable”
Use
“hm2_board.0.stepgen.1.index-enable”
  • grandixximo
  • grandixximo's Avatar
15 Mar 2026 14:17
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

I'm not good at coding either, I'm having the code checked by YangYang aka Mika in the forum, he is the master coder lol.

I did quick commit to fix the bug, seems legitimate, it was also present in original master. Thank you for reporting, hope the grinding noise goes away. Thank you for testing the code, would appreciate if you could leave a comment if my branch worked out without grinding noise for you. Thanks.
  • 0x2102
  • 0x2102's Avatar
15 Mar 2026 13:41 - 15 Mar 2026 13:42
Replied by 0x2102 on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Thanks Luca for all your work around this. I am experiencing grinding noise myself. Very random and I really only noticed it because I have my EtherCat system on a bench for testing, so no machine noise. 

Until now I was running the latest 1.40.0 release from Scott (9/2024) and wanted to try your code to see if that fixes the issue for me. 

While testing your current linuxcnc-ethercat code I encountered a reproducible SIGSEGV in lcec_parse_config().

Minimal configuration:
<masters>
  <master idx="0" appTimePeriod="1000000">
  </master>
</masters>

The crash happens during:
for (slave = master->first_slave; slave != NULL; slave = slave->next)
Even though no slave is defined in the XML.
Looking at lcec_main.c, both master and slave structures are allocated via:

master = LCEC_ALLOCATE(lcec_master_t);
slave  = LCEC_ALLOCATE(lcec_slave_t);

but are not explicitly zero-initialized.

If master->first_slave contains a non-NULL value, the code enters the loop and
dereferences an invalid pointer.

Adding explicit initialization fixes the issue:

master = LCEC_ALLOCATE(lcec_master_t);
memset(master, 0, sizeof(*master));

slave = LCEC_ALLOCATE(lcec_slave_t);
memset(slave, 0, sizeof(*slave));

After applying this change the driver starts correctly.

The issue may have existed previously but remained hidden depending on memory layout or allocator behavior.

I thought I share if anybody else has the exact same issue. 

BTW, I am not that good in coding and had a bit of help from my "buddy". 
  • MaHa
  • MaHa
  • Sviper
  • Sviper
15 Mar 2026 12:12 - 15 Mar 2026 12:37
Replied by Sviper on topic Problem bei installation Ethercat

Problem bei installation Ethercat

Category: Deutsch

Hallo Leute,
ich wollte am Wochenende mal meinen Rechner der Maschine updaten.
alter Stand war Debian 11 denke ich mit LinuxCNC 2.9.0 pre0 Ethercat.
Ich habe nun Debian 12 installiert inkl. Ethercat Master, linuxcnc-ethercat von Herrn Ittner.

Leider habe ich ein Problem mit meiner EL6751 Klemme, die will nicht in OP Modus. 
Starte ich das alte System läuft alles wie gewohnt.

Bei mir ist auf der EL6751 alles gespeichert was die Servotreiber benötigen. SDO habe ich deshalb nicht.
Anbei mal meine xml und ein paar Analyseversuche:
die Klemme habe ich auch mal unter Linux ausgelesen. (XML im Anhang)
steffen@mikron:~$ ethercat slave -p 7 -v
=== Master 0, Slave 7 ===
Device: Main
State: PREOP
Flag: E
Identity:
  Vendor Id:       0x00000002
  Product code:    0x1a5f3052
  Revision number: 0x00110000
  Serial number:   0x00000000
DL information:
  FMMU bit operation: no
  Distributed clocks: yes, 64 bit
  DC system time transmission delay: 1019 ns
Port  Type  Link  Loop    Signal  NextSlave  RxTime [ns]  Diff [ns]   NextDc [ns]
   0  EBUS  up    open    yes             6    729502240           0         155
   1  EBUS  down  closed  no              -            -           -           -
   2  N/A   down  closed  no              -            -           -           -
   3  N/A   down  closed  no              -            -           -           -
Mailboxes:
  Bootstrap RX: 0x1000/532, TX: 0x1800/532
  Standard  RX: 0x1800/558, TX: 0x1a2e/558
  Supported protocols: AoE, CoE, FoE
General:
  Group: Communication
  Image name: 
  Order number: EL6751
  Device name: EL6751 CANopen Master
  CoE details:
    Enable SDO: yes
    Enable SDO Info: yes
    Enable PDO Assign: no
    Enable PDO Configuration: no
    Enable Upload at startup: no
    Enable SDO complete access: yes
  Flags:
    Enable SafeOp: no
    Enable notLRW: no
  Current consumption: 300 mA
steffen@mikron:~$ ethercat slave
 0  0:0   OP     +  EK1100 EtherCAT-Koppler (2A E-Bus)
 1  0:1   OP     +  EL2008 8K. Dig. Ausgang 24V, 0.5A
 2  0:2   OP     +  EL2008 8K. Dig. Ausgang 24V, 0.5A
 3  0:3   OP     +  EL1008 8K. Dig. Eingang 24V, 3ms
 4  0:4   OP     +  EL1008 8K. Dig. Eingang 24V, 3ms
 5  0:5   OP     +  EL1008 8K. Dig. Eingang 24V, 3ms
 6  0:6   OP     +  EL2622 2K. Relais Ausgang, Schlie�er (230V AC / 30V DC)
 7  0:7   PREOP  E  EL6751 CANopen Master
 8  0:8   OP     +  EK1100 EtherCAT-Koppler (2A E-Bus)
 9  0:9   OP     +  EL2008 8K. Dig. Ausgang 24V, 0.5A
10  0:10  OP     +  EL2008 8K. Dig. Ausgang 24V, 0.5A
11  0:11  OP     +  EL1008 8K. Dig. Eingang 24V, 3ms
12  0:12  OP     +  EL1008 8K. Dig. Eingang 24V, 3ms
13  0:13  OP     +  EL5151 1K. Inc. Encoder
14  0:14  OP     +  EP2318-0001 4 K. Dig. Ein, 10�s, 4 K. Dig. Aus 24V, 0,5A, M8

 
  • grandixximo
  • grandixximo's Avatar
15 Mar 2026 10:39
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Yes, drift is a testing value, you need set pll-step to 0 and then set drift, and you can go into the grinding window, it's just for testing, and finding where the grinding window is. You don't need to use, system should be working now, no more grinding.
  • TAKUYA
  • TAKUYA
15 Mar 2026 10:30
Replied by TAKUYA on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

@grandixximo Good news. The patch you did worked. DC-phased is now active and I can see changing values for drift, err, final, out and reset-count. Nothing on the drift and jitter signals though, not sure if that is how it should be. 

Also, regarding the pll-step value with the older version of the patch, it was at 1000. 
  • grandixximo
  • grandixximo's Avatar
15 Mar 2026 09:54
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

I never discussed with Rob, maybe on next meeting 
  • ihavenofish
  • ihavenofish
15 Mar 2026 09:26
Replied by ihavenofish on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

I know what you are saying.

What have the tormach guys said about it? The 1500mx doesn't seem to have any issues. is there something to take from their new source code?
  • Marcos DC
  • Marcos DC's Avatar
15 Mar 2026 09:19 - 15 Mar 2026 09:48

Rufus found problem with linuxcnc_2.9.8-amd64.hybrid.iso -- missing files

Category: General LinuxCNC Questions

Ventoy really shines on PCs
I use it like this, and I still have room for other distros when I need them, but it is mainly my Swiss Army knife USB for tools.

/ISO/Rescue/SystemRescue.iso
/ISO/Rescue/Clonezilla.iso
/ISO/Rescue/GParted.iso
/ISO/Rescue/Rescuezilla.iso
/ISO/Boot/SuperGrub2Disk.iso
/ISO/Windows/Win11.iso
/ISO/Linux/Ubuntu-Live.iso
/ISO/Hardware/Memtest86+.iso
  • grandixximo
  • grandixximo's Avatar
15 Mar 2026 09:10
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

It's based on the execution time between two processes which is not guaranteed to align well in all systems, it may be ok on some hardware, very little difference, and completely random on others.
  • ihavenofish
  • ihavenofish
15 Mar 2026 08:36
Replied by ihavenofish on topic Brother carousel encoders

Brother carousel encoders

Category: CNC Machines

Yup. there's files an info.. somewhere.. in there. haha.
I have not looked at the 229 stuff in 7 years sadly, so its all erased from my brain.
  • ihavenofish
  • ihavenofish
15 Mar 2026 08:23
Replied by ihavenofish on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

latency is not fine tuned or incredibly stable.

It's actually a realtek interface. I don't think this is luck. I've cycled the machine probably 1000 times and never seen anything of this nature. Literally never even hear of the issue before and I know a number of people on ethercat/linuxcnc (tormach 1500 people included). And this was all news to them.

I've forwarded some info to the people that make the stepperonlione servos to see If they have any thoughts - and one of my customers is setting up their kit at the moment.

I find this all... peculiar to be simply random.
  • rodw
  • rodw's Avatar
15 Mar 2026 08:19
Replied by rodw on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

What network interface are you using? Beckhoff only really supports a few intel select chips for ethercat. They flat out block realtek in twincat for real time motion.

So I want to know if there is a strong indication people with these issues are on unsupported network interfaces, or it's happening across all of them including the intel 210/211

Thanks.

The real explanation why Beckhoff block Realtek NIC's is they use about 30% more system memory than Intel NIC's which can't be good for real time performance. However, I have never had issues with Realtek NIC's when properly configured regardless if they are driving Ethercat or mesa devices.

Its not enough today to just install linuxcnc and Ethercat and expect things to work. The kernel and NIC has to be tuned for optimum real time performance and that is something of a black art that is not well documented anywhere.

I offer kernel tuning services to manufacturers and have an installer that fully configures ethercat and tunes the kernel. You just need to add your config and plug in your slaves. If interested, reach out here mrrodw.au/ or via the email on my Youtube channel. www.youtube.com/@mrrodw 
Displaying 391 - 405 out of 17788 results.
Time to create page: 0.616 seconds
Powered by Kunena Forum