Problems with Lichuan Ethercat servo drive
- MaxEkb77
-
- Offline
- Senior Member
-
Less
More
- Posts: 40
- Thank you received: 6
07 Sep 2025 12:52 #334580
by MaxEkb77
Replied by MaxEkb77 on topic Problems with Lichuan Ethercat servo drive
I not remember tuning software on lichuan servo, stepper have utility to connect driver and change parameter - only on chinese
Please Log in or Create an account to join the conversation.
- stirra
- Offline
- Junior Member
-
Less
More
- Posts: 28
- Thank you received: 8
08 Sep 2025 02:50 #334603
by stirra
-- Ralph
Replied by stirra on topic Problems with Lichuan Ethercat servo drive
@tar_san - I very much would like to see your code. I am not happy with my fixes to the original code. Thank you!Hello.
I had to recreate LC10 homing code from zero reading manual designated for a driver with a motor with incremental encoder . ( I thought original code was difficult to fix )
If you still have some problems, I consider to open my codes...( I have something to do for some improvement )
-- Ralph
Please Log in or Create an account to join the conversation.
- tar_san
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 1
13 Sep 2025 00:51 #334909
by tar_san
Replied by tar_san on topic Problems with Lichuan Ethercat servo drive
I'm sorry to be late to publish my codes.
This is my repository for it.
github.com/k-s-saki/LinuxCNC_EtherCAT/tr...in/Lichuan/LC10E-INC
This is my repository for it.
github.com/k-s-saki/LinuxCNC_EtherCAT/tr...in/Lichuan/LC10E-INC
Please Log in or Create an account to join the conversation.
- stirra
- Offline
- Junior Member
-
Less
More
- Posts: 28
- Thank you received: 8
15 Sep 2025 00:25 #335000
by stirra
Replied by stirra on topic Problems with Lichuan Ethercat servo drive
Thank you so much @tar_san! That is very helpful. Could you also put your .ini and .hal files in your repository?I'm sorry to be late to publish my codes.
This is my repository for it.
github.com/k-s-saki/LinuxCNC_EtherCAT/tr...in/Lichuan/LC10E-INC
Please Log in or Create an account to join the conversation.
- Philip Lydin
- Offline
- Senior Member
-
Less
More
- Posts: 41
- Thank you received: 5
31 Oct 2025 12:58 #337585
by Philip Lydin
Replied by Philip Lydin on topic Problems with Lichuan Ethercat servo drive
Has anyone used the io pins on the drives as io pins in linuxcnc?
The following user(s) said Thank You: Red_D85
Please Log in or Create an account to join the conversation.
- Klak
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 1
25 Nov 2025 16:10 - 25 Nov 2025 18:07 #339212
by Klak
Replied by Klak on topic Problems with Lichuan Ethercat servo drive
Hello,
@LCR
Did you manage to solve the problem of offset a different way than the integration loop ? I have the exact same problem, and I am stuck when using csp mode
I have everything working, some of it is AI coded, but I also made an installation guide on how I did it.
github.com/KlaKalma/Ma_CNC
Here is the repo, for those who want it.
This LC10E drive seems quite hard to use....
When I use CSV tho, it's working super well. I have a custom-made PID tuner, that automatically tunes the PID for the position. It's on the git. I have a few microns of error as well.
@LCR
Did you manage to solve the problem of offset a different way than the integration loop ? I have the exact same problem, and I am stuck when using csp mode
I have everything working, some of it is AI coded, but I also made an installation guide on how I did it.
github.com/KlaKalma/Ma_CNC
Here is the repo, for those who want it.
This LC10E drive seems quite hard to use....
When I use CSV tho, it's working super well. I have a custom-made PID tuner, that automatically tunes the PID for the position. It's on the git. I have a few microns of error as well.
Last edit: 25 Nov 2025 18:07 by Klak. Reason: add github
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- LCR
- Offline
- Junior Member
-
Less
More
- Posts: 38
- Thank you received: 2
01 Dec 2025 01:30 #339539
by LCR
Replied by LCR on topic Problems with Lichuan Ethercat servo drive
Just seeing this now. No I did not find another way. It works for me with the extra integration loop. My purpose was to machine some parts. I contacted lichuan and they said everything was fine on their test stand. It is sort of good to see someone else has the same issue. I have no other idea how to resolve it.
Please Log in or Create an account to join the conversation.
- Sandro
- Offline
- Senior Member
-
Less
More
- Posts: 69
- Thank you received: 20
02 Dec 2025 20:26 #339663
by Sandro
Replied by Sandro on topic Problems with Lichuan Ethercat servo drive
How did you realise the integration loop? Is it possible to share your cia402.conf?
Please Log in or Create an account to join the conversation.
- LCR
- Offline
- Junior Member
-
Less
More
- Posts: 38
- Thank you received: 2
02 Dec 2025 21:53 #339666
by LCR
Replied by LCR on topic Problems with Lichuan Ethercat servo drive
I don't seem to have that handy. I will be back to the machine in a week or 2. I will make a backup and upload my configuration. What issues are you having?
Please Log in or Create an account to join the conversation.
- Sandro
- Offline
- Senior Member
-
Less
More
- Posts: 69
- Thank you received: 20
03 Dec 2025 18:40 #339697
by Sandro
Replied by Sandro on topic Problems with Lichuan Ethercat servo drive
Just the usual issue with the Lichuans with the huge following error in CSP mode. I have a config working in CSV mode which I posted a while back. But it would be nice to get this working in CSP mode. From my understanding you got this in check by modifying the cia402.conf with Velocity Feed Forward 60B1h?
This is my full configuration. Please note this is for a hobby machine and I cannot take responsibility for any present or not present safety features. Use at your own risk.
Slave 0 is the Cat IO board which can be found on Aliexpress.
Slave 1 is a DVS 1.8 kW servo motor with 23 bit absolute encoder, which I am using as spindle. I have set the encoder to 17 bit incremental at the moment. The same XML configuration as for the Lichuan servos works for this one as well.
Slaves 2-4 are the Lichuan servos for my three axes.
I was having issues using the Lichuans in csp mode, due to quite a substantial following error. For this reason I have set them to csv mode. This way I was able to do some PID tuning and clamping down the error to a few microns. I was also playing arround with the parameters on the servo drives directly to improve on the following error further. Most parameters did not do a lot in my case. However, P08.15 "Load inertia ratio" helped a lot. For the axes X and Y I have currently set it to about 12 and for Z-axis to about 7.
Please Log in or Create an account to join the conversation.
Time to create page: 0.137 seconds