Advanced Search

Search Results (Searched for: )

  • tomaszeg
  • tomaszeg
04 Jan 2026 12:52 - 04 Jan 2026 16:11
Replied by tomaszeg on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

I bought a cheap Ethercat servo from Aliexpress and trying to make it working Linuxcnc. The servo is PFDE ethercat 400W and it is almost the same like Lichuan A5 (I'm using Lichuan manual because original i got is only in Chinese language). Generaly servo is working with linuxcnc, but once per many times it is not going to OP mode. I started debugging and it turned out that it has DC sync problems. Usually after 5s timeout, syncronization is failing, but still it is going to OP mode and I can operate it from Linuxcnc. 
Can anyone help me with this problem? Generally it is working, but I dont want situation that I have to start linuxcnc few times to make it working.
I have xml configuration file from seller, but they don't provide any application to program EEPROM, but when I'm checking slave version, it is the same that I got from seller. The dmesg output is:
[color=#000000][ 9372.332054] EtherCAT WARNING: Datagram 00000000b0d26d62 (master-fsm) was SKIPPED 1 time.
[color=#000000][ 9603.335415] EtherCAT: Requesting master 0...
[color=#000000][ 9603.335421] EtherCAT: Successfully requested master 0.
[color=#000000][ 9603.335511] EtherCAT 0: Domain0: Logical address 0x00000000, 26 byte, expected working counter 3.
[color=#000000][ 9603.335513] EtherCAT 0:   Datagram domain0-0-main: Logical offset 0x00000000, 26 byte, type LRW.
[color=#000000][ 9603.335534] EtherCAT 0: Master thread exited.
[color=#000000][ 9603.335537] EtherCAT 0: Starting EtherCAT-OP thread.
[color=#000000][ 9603.335572] EtherCAT WARNING 0: 1 datagram UNMATCHED!
[color=#000000][ 9604.007324] EtherCAT ERROR 0-0: Failed to receive DC sync check datagram: Datagram queued.
[color=#000000][ 9604.333875] EtherCAT WARNING 0: 1 datagram UNMATCHED!
[color=#000000][ 9604.733868] EtherCAT WARNING: Datagram 00000000b0d26d62 (master-fsm) was SKIPPED 1 time.
[color=#000000][ 9609.114230] EtherCAT WARNING 0-0: Slave did not sync after 5000 ms.
[color=#000000][ 9609.119230] EtherCAT 0: Domain 0: Working counter changed to 3/3.
[color=#000000][ 9609.429835] EtherCAT 0: Slave states on main device: OP.

 [/color][/color][/color][/color][/color][/color][/color][/color][/color][/color][/color][/color][/color][/color]
  • unknown
  • unknown
04 Jan 2026 12:35
Replied by unknown on topic LinuxCNC 2.9.8 Image with Debian Trixie

LinuxCNC 2.9.8 Image with Debian Trixie

Category: Installing LinuxCNC

Yeah the raspi-image thing was related to a config issue and the version of live-build being used.
  • RotarySMP
  • RotarySMP's Avatar
04 Jan 2026 12:31 - 04 Jan 2026 12:42
Replied by RotarySMP on topic Retrofitting a 1986 Maho MH400E

Retrofitting a 1986 Maho MH400E

Category: Milling Machines

Thanks Tommy,

I have worked through troubleshooting, and have the machine up and running again.

The EXE's are not powered by the Indramat power rails. The Indramat received 2x 90VAC (X and Y) and 2x 140VAC (Z) from a transformer straight off the mains. The X axis EXE still uses an original lane of the old three axis EXE board, and thus needs both 5VDC and 12VDC supplies, which are powered downstream of the main isolation transformer.  X and Y are on 601D EXE's which only need 5VDC, on the same PSU as the Z.

It seems like a combination of issues.
1/ I had an addition relay so LinuxCNC can also control the Z axis brake, which in the original set up was only controlled by the Indramat. The consequence is that the motor was fighting the brake briefly on every start up. Not sure if that has caused further issues.
2/ Errors in setting Ferror verse Ferrormin, Leaving Ferrormin too tight.

Axis    fError.    fErrorMin
X.           0.5           0.2
Y            0.5           0.2
Z             20             1

The 20 was obviously an oversight which I forgot to set after finishing pid tuning.
Question: What would be a typical value for fError and fErrorMin for a machine like set with 2400mm/min max rapids? Is 0.2 and o.5 really that tight?

3/ Not adding any intergral in the pid tuning, once I had P, FF1 and FF2 set. There is a constant offset in steady state motion.

4/ Suspect that using the 220 weight way oil recommended in the MAHO manual might be too thick in winter.

I have removed that 19K2 relay, removing linuxCNC from the brake control and returning it solely to the Indramat.
I have opened up the fError and fErrorMin values, and am now working to find sensible values.
Just playing around to find the right value of I for each axis.
Cheers,
Mark


 
  • andypugh
  • andypugh's Avatar
04 Jan 2026 12:20
Replied by andypugh on topic LinuxCNC 2.9.8 Image with Debian Trixie

LinuxCNC 2.9.8 Image with Debian Trixie

Category: Installing LinuxCNC

I did notice on a previous installation that the sources only included the CD.

Let me investigate further.
  • michaeln
  • michaeln
04 Jan 2026 12:19
Replied by michaeln on topic LinuxCNC 2.9.8 Image with Debian Trixie

LinuxCNC 2.9.8 Image with Debian Trixie

Category: Installing LinuxCNC

Hello rody,
thank you for your input.
The old way is working too. Synaptic use the old one if you add there sources, too
  • rodw
  • rodw's Avatar
04 Jan 2026 11:30
Replied by rodw on topic LinuxCNC 2.9.8 Image with Debian Trixie

LinuxCNC 2.9.8 Image with Debian Trixie

Category: Installing LinuxCNC

Debian trixie uses the new deb822 format so sources.list is no longer used.
Instead  look in /etc/apt/sources.list.d/debian.sources for the sources in the new format
  • michaeln
  • michaeln
04 Jan 2026 11:15
Replied by michaeln on topic Mesa Configuration Tool

Mesa Configuration Tool

Category: Configuration Tools

there is the package "python3-distro" in Trixie.
But you have to configure the sources correct.
Please look here:
forum.linuxcnc.org/9-installing-linuxcnc...e-with-debian-trixie
  • JT
  • JT's Avatar
04 Jan 2026 11:14 - 04 Jan 2026 11:15
Replied by JT on topic Mesa Configuration Tool

Mesa Configuration Tool

Category: Configuration Tools

I don't see any Debian repositories how did you install the OS?

I'm downloading Debian 13 and installing that on  SSD for testing.

JT
  • michaeln
  • michaeln
04 Jan 2026 11:13 - 04 Jan 2026 11:18
LinuxCNC 2.9.8 Image with Debian Trixie was created by michaeln

LinuxCNC 2.9.8 Image with Debian Trixie

Category: Installing LinuxCNC

Hello,
i installed the new LinuxCNC 2.9.8 Image with Debian Trixie and think the installation is not "ready to use" and need work.

First add the Debian repositories:
With
sudo nano /etc/apt/sources.list
add the lines:

deb deb.debian.org/debian stable main contrib non-free-firmware
deb-src deb.debian.org/debian stable main contrib non-free-firmware
deb security.debian.org/debian-security stable-security main contrib non-free-firmware
deb-src security.debian.org/debian-security stable-security main contrib non-free-firmware

After that:
sudo apt update
sudo apt upgrade
sudo apt autoremove

Select and activate your language:
sudo dpkg-reconfigure locales

and your timezone:
sudo tzselect


Best regards

Michael

P.S.: With this Trixie-Image the old raspi-firmware bug seems to be away.  
  • 5_Zylinder
  • 5_Zylinder
04 Jan 2026 10:58
Replied by 5_Zylinder on topic Mesa Configuration Tool

Mesa Configuration Tool

Category: Configuration Tools

We already tried that yesterday. But then a new error message appears:

available from another source

Error: Package 'python3-distro' has no installation candidate

cnc@cnc:~$

in a terminal
  • rodw
  • rodw's Avatar
04 Jan 2026 10:44
Replied by rodw on topic Network Interface Card Recommendation

Network Interface Card Recommendation

Category: EtherCAT

edit to use TSN you need to: sudo apt install linuxptp
packages.debian.org/bookworm/linuxptp
  • rodw
  • rodw's Avatar
04 Jan 2026 10:33
Replied by rodw on topic Mesa Configuration Tool

Mesa Configuration Tool

Category: Configuration Tools

Debian packages search says its there in trixie if I correct your spelling error
packages.debian.org/trixie/python3-distro
try: sudo apt install python3-distro
  • rodw
  • rodw's Avatar
04 Jan 2026 10:27
Replied by rodw on topic Network Interface Card Recommendation

Network Interface Card Recommendation

Category: EtherCAT

I would try the realtek dkms driver and the additional RT kennel tuning tweaks in my YouTube guide and I think you will have good performance


If you do buy a new NIC card.definitely get  an Intel card preferably one that supports time sensitive networking (TSN) Eg i210 series en.wikipedia.org/wiki/Time-Sensitive_Networking this gives real time network performance (finally) and is supported by ethercat. Take care as some of the intel cards have different versions and the entry level card for that model does not support TSN. Not sure if this will require slave level support.
  • 5_Zylinder
  • 5_Zylinder
04 Jan 2026 09:45 - 04 Jan 2026 09:47
Replied by 5_Zylinder on topic Mesa Configuration Tool

Mesa Configuration Tool

Category: Configuration Tools

First off, I'm not a computer expert. I've followed all the steps on the website step by step. I've attached a few screenshots. Can anyone tell me how to solve this problem?
  • jakelong61098
  • jakelong61098
04 Jan 2026 09:22
ETHERCAR ON INOVANCE SERVO SV635N was created by jakelong61098

ETHERCAR ON INOVANCE SERVO SV635N

Category: EtherCAT

Can anyone give me full detail intruction for the INOVANCE SERVO SV635N. I have try many hal and xml file but still not working. I have test all the servo in twincat everything OK. 


jakelong@JLCNC:~/linuxcnc/configs/ethercat-test$ linuxcnc test.ini LINUXCNC - 2.9.8 Machine configuration directory is '/home/jakelong/linuxcnc/configs/ethercat-test' Machine configuration file is 'test.ini' Starting LinuxCNC... linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod Note: Using POSIX realtime Found file(REL): ./core.hal HAL: ERROR: function 'motion-command-handler' not found ./core.hal:3: addf failed Shutting down and cleaning up LinuxCNC... Note: Using POSIX realtime LinuxCNC terminated with an error. You can find more information in the log: /home/jakelong/linuxcnc_debug.txt and /home/jakelong/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal jakelong@JLCNC:~/linuxcnc/configs/ethercat-test$ linuxcnc test.ini LINUXCNC - 2.9.8 Machine configuration directory is '/home/jakelong/linuxcnc/configs/ethercat-test' Machine configuration file is 'test.ini' Starting LinuxCNC... linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod Note: Using POSIX realtime Found file(REL): ./core.hal motmod: dlopen: /usr/lib/linuxcnc/modules/motmod.so: undefined symbol: kinematicsSwitch ./core.hal:1: waitpid failed /usr/bin/rtapi_app motmod ./core.hal:1: /usr/bin/rtapi_app exited without becoming ready ./core.hal:1: insmod for motmod failed, returned -1 Shutting down and cleaning up LinuxCNC... Note: Using POSIX realtime LinuxCNC terminated with an error. You can find more information in the log: /home/jakelong/linuxcnc_debug.txt and /home/jakelong/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal
Displaying 286 - 300 out of 20294 results.
Time to create page: 0.260 seconds
Powered by Kunena Forum