Linuxcnc floods me with errors..
- vmihalca
- Offline
- Platinum Member
Less
More
- Posts: 344
- Thank you received: 21
16 Mar 2019 16:37 #128752
by vmihalca
Linuxcnc floods me with errors.. was created by vmihalca
Hi guys,
From time to time get some errors due to which I need to restart linuxcnc and redo all the homing routine.
Last time I got these errors...
I am using a Mesa 7i76e so I assume the board does the step generation.
From time to time get some errors due to which I need to restart linuxcnc and redo all the homing routine.
Last time I got these errors...
I am using a Mesa 7i76e so I assume the board does the step generation.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17998
- Thank you received: 4842
16 Mar 2019 17:08 #128755
by PCW
Replied by PCW on topic Linuxcnc floods me with errors..
This set of errors usually means that there is a latency problem with the host PC
What has happened is that you have a latency error so large (> say 800 usec assuming 1 KHz base thread) that:
1. You get a latency error message
2. the watchdog bites, disabling all I/O pins so you get Sserial errors since the connected device does not respond
I would run the latency test on the servo thread only for at least a few hours to test
the host latency and also do a ping test of the 7I76E
What has happened is that you have a latency error so large (> say 800 usec assuming 1 KHz base thread) that:
1. You get a latency error message
2. the watchdog bites, disabling all I/O pins so you get Sserial errors since the connected device does not respond
I would run the latency test on the servo thread only for at least a few hours to test
the host latency and also do a ping test of the 7I76E
The following user(s) said Thank You: vmihalca
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19532
- Thank you received: 6555
16 Mar 2019 23:30 #128784
by tommylight
Replied by tommylight on topic Linuxcnc floods me with errors..
Also what value do you have set in the ini file for servo thread ?
You should leave that at 1000000 ( one milion )
You should leave that at 1000000 ( one milion )
Please Log in or Create an account to join the conversation.
- vmihalca
- Offline
- Platinum Member
Less
More
- Posts: 344
- Thank you received: 21
18 Mar 2019 08:54 #128877
by vmihalca
Replied by vmihalca on topic Linuxcnc floods me with errors..
If you're talking about SERVO_PERIOD than than the value is as you said.
SERVO_PERIOD = 1000000
Here is my config file if you think something else may improve this.
github.com/85vmh/LinuxCncConfigs/blob/ma...gs/SyilX7/SyilX7.ini
SERVO_PERIOD = 1000000
Here is my config file if you think something else may improve this.
github.com/85vmh/LinuxCncConfigs/blob/ma...gs/SyilX7/SyilX7.ini
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19532
- Thank you received: 6555
18 Mar 2019 09:26 #128878
by tommylight
Replied by tommylight on topic Linuxcnc floods me with errors..
That looks all good to me.
The following user(s) said Thank You: vmihalca
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17998
- Thank you received: 4842
18 Mar 2019 18:53 #128915
by PCW
Replied by PCW on topic Linuxcnc floods me with errors..
Have you run a latency test?
Please Log in or Create an account to join the conversation.
- vmihalca
- Offline
- Platinum Member
Less
More
- Posts: 344
- Thank you received: 21
18 Mar 2019 21:06 #128919
by vmihalca
Replied by vmihalca on topic Linuxcnc floods me with errors..
I just did:
Servo Thread: 32000 ns
Base Thread: ~82000ns
Are these values so bad that they can cause those errors?
Servo Thread: 32000 ns
Base Thread: ~82000ns
Are these values so bad that they can cause those errors?
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17998
- Thank you received: 4842
18 Mar 2019 21:16 #128920
by PCW
Replied by PCW on topic Linuxcnc floods me with errors..
No, but you should run a latency test with no base thread:
latency-test 1ms 1ms
or
latency-histogram --nobase --sbinsize 1000
also a ping test should be done
Either
ping 10.10.10.10
or
ping 192.168.1.121
depending on how your 7I76E is set
latency-test 1ms 1ms
or
latency-histogram --nobase --sbinsize 1000
also a ping test should be done
Either
ping 10.10.10.10
or
ping 192.168.1.121
depending on how your 7I76E is set
Please Log in or Create an account to join the conversation.
- vmihalca
- Offline
- Platinum Member
Less
More
- Posts: 344
- Thank you received: 21
18 Mar 2019 21:58 #128927
by vmihalca
Replied by vmihalca on topic Linuxcnc floods me with errors..
While trying to make a video on the issue I have with the probe screen repetability, I just got:
hm2/hm2_7i76e.0: error finishing read! iter=649051
Pinging 10.10.10.10 for a few minutes got a reply every single time, no request timeout.
Running latency-test 1ms 1ms with ping running, glxgears running and using the browser while typing this post, resulted in 57128ns.
hm2/hm2_7i76e.0: error finishing read! iter=649051
Pinging 10.10.10.10 for a few minutes got a reply every single time, no request timeout.
Running latency-test 1ms 1ms with ping running, glxgears running and using the browser while typing this post, resulted in 57128ns.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19532
- Thank you received: 6555
18 Mar 2019 22:01 #128929
by tommylight
Replied by tommylight on topic Linuxcnc floods me with errors..
What is the latency of ping replies ? It is written at the end of each reply line.
Please Log in or Create an account to join the conversation.
Time to create page: 0.192 seconds