Leadshine EL8 interruptions
03 May 2024 14:21 #299632
by gastlth1
Leadshine EL8 interruptions was created by gastlth1
My CNC system with ethercat and Leadshine EL8 controller works as an absolute value system so far. When running the program, the system interrupts sporadically with the error message:
Motor 0 position error
Position: relatively current
I can also sometimes hear short interruptions during motor braking. However, these are not always directly related to the error message.
Can the warnings from the dsmg protocol be ignored or is a specific program or configuration change necessary?
How could I solve the problem?
Motor 0 position error
Position: relatively current
I can also sometimes hear short interruptions during motor braking. However, these are not always directly related to the error message.
Can the warnings from the dsmg protocol be ignored or is a specific program or configuration change necessary?
How could I solve the problem?
Please Log in or Create an account to join the conversation.
04 May 2024 02:10 #299681
by rodw
Replied by rodw on topic Leadshine EL8 interruptions
Try reducing accelleration in your ini file. Decelleration also uses this figure. Its possible inertia in the system prevents the axis to slow down fast enough to follow the profile so a following error ocurrs.
I had ths issue.
I had ths issue.
Please Log in or Create an account to join the conversation.
05 May 2024 09:17 #299792
by gastlth1
Replied by gastlth1 on topic Leadshine EL8 interruptions
After changing the acceleration parameters to half the value, several test runs have shown that the problem is still present.
Where else could this instability be coming from?
Where else could this instability be coming from?
Please Log in or Create an account to join the conversation.
11 May 2024 07:57 - 11 May 2024 08:22 #300374
by gastlth1
Replied by gastlth1 on topic Leadshine EL8 interruptions
In the terminal I got this information:
Unexpected realtime delay on task 0 with period 1000000This Message will only display once per session.Run the Latency Test and resolve before continuing.task: main loop took 0.018594 secondsMotor 2 Positionssfehleremc/task/taskintf.cc 976: Error on joint 2, command number 377task: main loop took 0.037092 secondstask: main loop took 0.019966 secondstask: main loop took 0.024853 seconds
How could I solve the problems?
Unexpected realtime delay on task 0 with period 1000000This Message will only display once per session.Run the Latency Test and resolve before continuing.task: main loop took 0.018594 secondsMotor 2 Positionssfehleremc/task/taskintf.cc 976: Error on joint 2, command number 377task: main loop took 0.037092 secondstask: main loop took 0.019966 secondstask: main loop took 0.024853 seconds
How could I solve the problems?
Last edit: 11 May 2024 08:22 by gastlth1.
Please Log in or Create an account to join the conversation.
11 May 2024 08:01 - 11 May 2024 08:25 #300375
by gastlth1
Replied by gastlth1 on topic Leadshine EL8 interruptions
Last edit: 11 May 2024 08:25 by gastlth1.
Please Log in or Create an account to join the conversation.
11 May 2024 09:15 #300377
by rodw
Replied by rodw on topic Leadshine EL8 interruptions
Please post your config xml file.
There seems to be a lot of unmatched datagrams
also your latency looks pretty awful. Please work on cleaning that up in the BIOS settings.
There seems to be a lot of unmatched datagrams
also your latency looks pretty awful. Please work on cleaning that up in the BIOS settings.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19196
- Thank you received: 6434
11 May 2024 10:15 #300383
by tommylight
Replied by tommylight on topic Leadshine EL8 interruptions
Regarding latency, have a read through this:
forum.linuxcnc.org/38-general-linuxcnc-q...ead-and-irq-affinity
forum.linuxcnc.org/38-general-linuxcnc-q...ead-and-irq-affinity
Please Log in or Create an account to join the conversation.
11 May 2024 12:01 #300386
by gastlth1
Replied by gastlth1 on topic Leadshine EL8 interruptions
How can I improve the latency in the bios?
Please Log in or Create an account to join the conversation.
12 May 2024 16:38 #300455
by gastlth1
Replied by gastlth1 on topic Leadshine EL8 interruptions
I have now tried to improve the bios according to the Linuxcnc documentation as suggested by rodw.
I also followed the instructions in the link from tommylight and tried to reduce the latency in this way.
Since the result is not really good yet, it would be great if I could get hints on a possible solution based on the files in the attachment
I also followed the instructions in the link from tommylight and tried to reduce the latency in this way.
Since the result is not really good yet, it would be great if I could get hints on a possible solution based on the files in the attachment
Please Log in or Create an account to join the conversation.
12 May 2024 21:05 #300472
by blazini36
Replied by blazini36 on topic Leadshine EL8 interruptions
Slow the servo thread to 2ms, until you get the latency sorted out. I don't think you'll get away with a 1ms servo thread.
Try updating the PC/motherboard BIOS. Sometimes they ship with crap that generally works then sort it out halfway through the product lifecycle.
Try updating the PC/motherboard BIOS. Sometimes they ship with crap that generally works then sort it out halfway through the product lifecycle.
The following user(s) said Thank You: gastlth1
Please Log in or Create an account to join the conversation.
Time to create page: 0.093 seconds