Advanced Search

Search Results (Searched for: )

  • rodw
  • rodw's Avatar
29 Oct 2025 08:58

Long initialization of Ethercat on servo drive SV660N

Category: EtherCAT

Where are your vid and pid settings in your XML? Please refer to the simple example mentioned by Hakan earlier github.com/dbraun1981/hal-cia402/tree/main/example
  • Hakan
  • Hakan
29 Oct 2025 08:37

Long initialization of Ethercat on servo drive SV660N

Category: EtherCAT

Ok, so what does the drive have? It isn't a cia402 drive since those pdos are standardized in cia402?
Output of "lcec_configgen -generic_pdos", please?
  • hanz24
  • hanz24
29 Oct 2025 08:26

Long initialization of Ethercat on servo drive SV660N

Category: EtherCAT

I also want to ask about this because i dont know if this can cause the problem. My pdos from the driver is not that much and some of the pin id for basic config is not there, like 6060, 60FF, 6061, 606C. whether this could be the cause of the error all this time or not, but when I tried to delete some pins that were not on the pdos slaves the error still appeared
  • Hakan
  • Hakan
29 Oct 2025 08:22 - 29 Oct 2025 08:22

Long initialization of Ethercat on servo drive SV660N

Category: EtherCAT

The i210 is my favorite. If you also have isolcpus=1,2,3 that's as good as it gets, I guess.

The other thing is the EoE thread starting. It have seen on posts here
that EoE can be a problem.
The way I would test is to download and compile ethercat master myself.
And use the --disable-eoe option to disable EoE altogether from the master.
 
  • hanz24
  • hanz24
29 Oct 2025 07:56 - 29 Oct 2025 07:58

Long initialization of Ethercat on servo drive SV660N

Category: EtherCAT

Im using Intel I210 for network card, and igb for linux module (?) im not sure about the linux module.

And i already try to adding watchdog line too before, and i think its giving same error. And sometimes my slaves state is in INIT+ERROR after running the linuxcnc sim.

[  228.150236] EtherCAT: Requesting master 0...
[  228.150242] EtherCAT: Successfully requested master 0.
[  228.150518] EtherCAT 0: Domain0: Logical address 0x00000000, 26 byte, expected working counter 3.
[  228.150521] EtherCAT 0:   Datagram domain0-0-main: Logical offset 0x00000000, 26 byte, type LRW.
[  228.150547] EtherCAT 0: Master thread exited.
[  228.150550] EtherCAT 0: Stopping EoE thread.
[  228.150570] EtherCAT 0: EoE thread exited.
[  228.150571] EtherCAT 0: Starting EoE thread.
[  228.150622] EtherCAT 0: Starting EtherCAT-OP thread.
[  228.150653] EtherCAT WARNING 0: 3 datagrams TIMED OUT!
[  238.231729] EtherCAT ERROR 0-0: Timeout after 10000 ms while setting state OP.
[  238.241933] EtherCAT 0: Slave states on main device: SAFEOP.
[  246.189933] EtherCAT 0: Slave states on main device: SAFEOP + ERROR.
[  324.353930] EtherCAT WARNING 0: 3 datagrams UNMATCHED!
[  373.619468] EtherCAT 0: Master thread exited.
[  373.619473] EtherCAT 0: Stopping EoE thread.
[  373.619510] EtherCAT 0: EoE thread exited.
[  373.619521] EtherCAT 0: Starting EoE thread.
[  373.619565] EtherCAT 0: Starting EtherCAT-IDLE thread.
[  373.622301] EtherCAT 0: Releasing master...
[  373.622304] EtherCAT 0: Released.
[  373.622394] EtherCAT ERROR 0-0: AL status message 0x001B: "Sync manager watchdog".
[  373.622878] EtherCAT 0-0: Acknowledged state SAFEOP.
[  383.626063] EtherCAT ERROR 0-0: Timeout after 10000 ms while setting state OP.
[  383.633953] EtherCAT 0: Slave states on main device: SAFEOP.
[  387.645398] EtherCAT: Requesting master 0...
[  387.645588] EtherCAT: Successfully requested master 0.
[  387.645853] EtherCAT 0: Domain0: Logical address 0x00000000, 26 byte, expected working counter 3.
[  387.645856] EtherCAT 0:   Datagram domain0-0-main: Logical offset 0x00000000, 26 byte, type LRW.
[  387.645872] EtherCAT 0: Master thread exited.
[  387.645875] EtherCAT 0: Stopping EoE thread.
[  387.645891] EtherCAT 0: EoE thread exited.
[  387.645892] EtherCAT 0: Starting EoE thread.
[  387.646323] EtherCAT 0: Starting EtherCAT-OP thread.
[  391.577924] EtherCAT ERROR 0-0: Failed to set INIT state, slave refused state change (SAFEOP + ERROR).
[  391.579407] EtherCAT ERROR 0-0: AL status message 0x0000: "No error".
  • unknown
  • unknown
29 Oct 2025 07:22

Proposal RPi Linuxcnc Image Based on Raspi OS All welcome/encoraged to comment

Category: Installing LinuxCNC

Update;
Distro used is Trixie.
Linuxcnc version is 2.9.4 as that what is on the Debian Trixie repo, there is an issue with the pacakges for Trixie at linuxcnc.org.
One image for an RPi5 or Rpi4, kernel has 4k pages rather than 16k that the RPi5 can use.
Managed to work out how to change the boot splash screen, now has a "chips" logo display during boot.

Whilst it does do auto login, the login screen uses a wallpaper found on the forum, maybe user robertspark, so if you log out the login screen will have the above picture shown.

xfce-teminal is configured for a login terminal, so no need to add an env variable when running anything Linuxcnc related from terminal.

More or less ready for testing if anyone is keen.
Looking in to turning some services off that aren't really required for a CNC (should help with latency, maybe??)
To burn to boot medium, it's the same process as you would for a normal raspio image. Use RPi Imager, set up your settings, first boot is as the raspios. Then when it's all setup it will autologin with the user you used in your settings. No default user or password used.
  • Hakan
  • Hakan
29 Oct 2025 07:06

Long initialization of Ethercat on servo drive SV660N

Category: EtherCAT

Two errors, one is timeout and one is watchdog.

Let's start with the first one, timeout. You also got Timeout warnings.
This can happen if the network performance is questionable.
Which network card do you use, and which linux module does it use? Find out with "lspci -k".
With a Realtek card, switch to the r8168-dkms driver, maybe not exactly that name but similar at least.
Intel card works best, but can need latency-related settings.

Watchdog is often set with a default value. It's seems your drive need that explicitly set.
Add the line
<watchdog divider="2498" intervals="1000"/>
after the dcconf line line. If you're interested in trying to decode it, each interval is 40 nanoseconds long,
so this ends up being just under 100 ms. 100 ms is Ethercat default setting.
  • unknown
  • unknown
29 Oct 2025 07:06 - 29 Oct 2025 07:07
Replied by unknown on topic MESA 7I92 programming

MESA 7I92 programming

Category: Driver Boards

Once you're used to it it's fairly easy. No programming skills are required.....well to modify pin functions, the actual VHDL stuff is different.

This is the info I used to start building bit files for some clone 7c81 I worked on.
tom-itx.no-ip.biz:81/~webpage/emc/xilinx...14_install_index.php
  • TJ
  • TJ's Avatar
29 Oct 2025 06:20
Replied by TJ on topic MESA 7I92 programming

MESA 7I92 programming

Category: Driver Boards

Hi
Unfortunately, I have no programming skills. I don't understand how this Xilinix program works.
I'm copying the pins in xx.vhd, but I can't save it to a xx.bit file because it gives me a bunch of errors and I'm just wondering what's wrong. :)
I'm completely at a loss.
If I give you the inputs and outputs, could someone who knows something about this make this xx.bit file for me?
  • nanowhat
  • nanowhat
29 Oct 2025 04:28

Loading 32 bit shared library with GladeVCP/python on a Raspberry Pi

Category: General LinuxCNC Questions

I'm going to write a separate 32 bit executable that loads the shared library, and presents a named pipe that I can access via Python.
  • nanowhat
  • nanowhat
29 Oct 2025 02:27

Loading 32 bit shared library with GladeVCP/python on a Raspberry Pi

Category: General LinuxCNC Questions

I need to load a 32 bit shared library from GladeVCP/python to communicate with an existing machine. This shared library is only available as a 32 bit library for ARM systems, and I want to see if this will run on a Raspberry Pi. I don't have access to the source, so I can't recompile arm64.

Is there any way to do this, or do I have to run on a x86_64 machine?
  • hanz24
  • hanz24
29 Oct 2025 01:43

Long initialization of Ethercat on servo drive SV660N

Category: EtherCAT

[  130.057958] EtherCAT 0: Link state of ecm0 changed to UP.
[  130.098035] EtherCAT 0: 1 slave(s) responding on main device. Re-scanning on next possibility.
[  130.098038] EtherCAT 0: Slave states on main device: INIT.
[  130.098040] EtherCAT 0: Re-scanning now.
[  130.098338] EtherCAT 0: Scanning bus.
[  130.423709] EtherCAT 0: Bus scanning completed in 324 ms.
[  130.423713] EtherCAT 0: Using slave 0 as DC reference clock.
[  130.423716] EtherCAT 0: Starting EoE thread.
[  130.429964] EtherCAT 0: Slave states on main device: PREOP.
[  223.571989] EtherCAT: Requesting master 0...
[  223.571994] EtherCAT: Successfully requested master 0.
[  223.572282] EtherCAT 0: Domain0: Logical address 0x00000000, 26 byte, expected working counter 3.
[  223.572285] EtherCAT 0:   Datagram domain0-0-main: Logical offset 0x00000000, 26 byte, type LRW.
[  223.572300] EtherCAT 0: Master thread exited.
[  223.572302] EtherCAT 0: Stopping EoE thread.
[  223.572312] EtherCAT 0: EoE thread exited.
[  223.572313] EtherCAT 0: Starting EoE thread.
[  223.572363] EtherCAT 0: Starting EtherCAT-OP thread.
[  223.572393] EtherCAT WARNING 0: 3 datagrams TIMED OUT!
[  233.629941] EtherCAT ERROR 0-0: Timeout after 10000 ms while setting state OP.
[  233.637940] EtherCAT 0: Slave states on main device: SAFEOP.
[  241.597939] EtherCAT 0: Slave states on main device: SAFEOP + ERROR.
[  245.322148] EtherCAT 0: Master thread exited.
[  245.322152] EtherCAT 0: Stopping EoE thread.
[  245.322161] EtherCAT 0: EoE thread exited.
[  245.322169] EtherCAT 0: Starting EoE thread.
[  245.322206] EtherCAT 0: Starting EtherCAT-IDLE thread.
[  245.322267] EtherCAT 0: Releasing master...
[  245.322270] EtherCAT 0: Released.
[  245.330235] EtherCAT ERROR 0-0: AL status message 0x001B: "Sync manager watchdog".
[  245.331449] EtherCAT 0-0: Acknowledged state SAFEOP.

This is some lines that related to ethercat from sudo dmesg, is the problem with sync manager from xml file? or is it because some pdo from my drive didn't match
  • PCW
  • PCW's Avatar
29 Oct 2025 01:18 - 29 Oct 2025 02:50
Replied by PCW on topic Which LinuxCNC HW for 2026+?

Which LinuxCNC HW for 2026+?

Category: General LinuxCNC Questions

When you get a following error, is there a dripped packet?
that is, is hm2_cardname.0.packet-error-total 0?

What are your following error limits?

Can you post a hal/ini file set for a system that exhibits these issues?

I ask because getting following errors and not network timeout errors, that is:
"error finishing read"s is odd and suggests a setup error of some kind

If your PC has a Realtek Ethernet interface, have you installed the DKMS driver?

(the stock Realtek drivers are hopeless latency wise)

If you have in Intel MAC, have you turned off IRQ coalescing?

Have you pinned the Ethernet IRQ to the last processor?

Some systems require disabling  EEE or PCIE power management als
  • AkkiSan
  • AkkiSan
29 Oct 2025 00:32
Replied by AkkiSan on topic Which LinuxCNC HW for 2026+?

Which LinuxCNC HW for 2026+?

Category: General LinuxCNC Questions

Thanks, all.

In general, I like the Ethernet solution, especially because it comes with a built-in galvanic isolation.
What I dislike is, that this more or less rules out all notebook solutions, bc I need a network connection.

From what I experienced, but maybe it was all just bad luck, is that all internal WIFI connections do not work,
except for a couple of devices with a PCMCIA wireless card. I did not try every possible combination, but also
USB to Ethernet adapters seem to have a severe impact on latency.

Is my 7i91 too old maybe?
Of course, I set up everything with the help of pncconf and used the default settings wherever possible.

I had latency (network) test running for days without issues; I programmed a Python script to let the A/B tables
rotate for hours flawlessly; but five minutes of probing and error - one real longer milling job and joint error.
I spent hours in front of the HAL scope, just to catch this magic moment. I even had a camera recording it.
Nothing was caught in flagranti.

I now, just for fun, developed a USB to SPI MCU board and started to mod some of the LinuxCNC SPI
code for the 7c81. Not sure yet if isochronous transfer is possible or interrupt transfer would clog everything.
This would be my preferred (notebook) solution.


Which computers are you using for the 7i91? Whenever I browse through all of this here, I only see
10+ years old systems at work (like tommylight’s Thinkpad collection, hehe).
What about a top modern one?

And just to make sure, you all mean PREEMPT-RT, right? Not RTAI. 
  • tommylight
  • tommylight's Avatar
28 Oct 2025 21:46
Replied by tommylight on topic Help needed - Unable to jog my CNC mill

Help needed - Unable to jog my CNC mill

Category: General LinuxCNC Questions

Make a new config and make sure NOT to check the line where the mouse pointer is.
Displaying 2206 - 2220 out of 22085 results.
Time to create page: 0.218 seconds
Powered by Kunena Forum