Read error and following error Mesa 7i96

More
21 Jun 2020 22:15 #172281 by Clive S
Re:- setp hm2_7i96.0.dpll.01.timer-us -50 Would it help if I changed it - to - setp hm2_7i96.0.dpll.01.timer-us -100

I am getting a following error as well this is on a small mill.

.
I have commented out all the setp pid.x.maxerror .0005 lines

File Attachment:

File Name: baz_2020-06-21.hal
File Size:11 KB

File Attachment:

File Name: baz_2020-06-21.ini
File Size:4 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
21 Jun 2020 22:48 #172284 by tommylight
The joint following error is caused by the loos of communication with the 7i96, so that is not the error that needs fixing, the lost connection is.
What are the ping times ?
Try raising the servo period to 2,000,000 and also raising the watchdog time to 10,000,000 for testing.

Please Log in or Create an account to join the conversation.

More
22 Jun 2020 08:55 #172306 by Clive S

The joint following error is caused by the loos of communication with the 7i96, so that is not the error that needs fixing, the lost connection is.
What are the ping times ?
Try raising the servo period to 2,000,000 and also raising the watchdog time to 10,000,000 for testing.


If I change the servo period to 2,000,000 I believe I have to change the P to 500 !! is that correct

Please Log in or Create an account to join the conversation.

More
22 Jun 2020 09:57 #172313 by tommylight
Yes that is correct.
The following user(s) said Thank You: Clive S

Please Log in or Create an account to join the conversation.

More
22 Jun 2020 14:09 #172342 by PCW
A little explanation as to why you can get a "error finishing read!" error with
poor Ethernet latency:

The hm2_eth driver times the read response of the Ethernet card. If this exceeds
80% of the servo period (default value), the read will be aborted. If this happens
5 times in a row (also a default value) , the driver disables communication and
issues a "error finishing read!" message.

You can plot the timeout error on halscope to see if its happening by monitoring
hm2_7i96.0.io_error. Also plotting hm2_7i96.0.read.time will give you an
idea of how close to the limit you are. Time is in CPU cycles on X86 so you need to
divide by CPU GHz to get ns.
The following user(s) said Thank You: Clive S

Please Log in or Create an account to join the conversation.

More
22 Jun 2020 16:40 #172369 by Clive S

A little explanation as to why you can get a "error finishing read!" error with poor Ethernet latency:


Thanks Peter.

Unfortunately this mill is about a 60 mile round trip. It is a small mill that does not need to be faster that 2000mm/min on rapids

I have commented out all the setp pid.x.maxerror .0005 lines

Re:- setp hm2_7i96.0.dpll.01.timer-us -50 Would it help if I changed it - to - setp hm2_7i96.0.dpll.01.timer-us -100

So I would like to try As Tom suggested " change the servo period to 2,000,000 " and change the P from 1000 to 500

I can do the above by phone.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

Time to create page: 0.093 seconds
Powered by Kunena Forum