Read error and following error Mesa 7i96
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2240
- Thank you received: 474
21 Jun 2020 22:15 #172281
by Clive S
Read error and following error Mesa 7i96 was created 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
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
Attachments:
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19510
- Thank you received: 6543
21 Jun 2020 22:48 #172284
by tommylight
Replied by tommylight on topic Read error and following error Mesa 7i96
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.
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.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2240
- Thank you received: 474
22 Jun 2020 08:55 #172306
by Clive S
If I change the servo period to 2,000,000 I believe I have to change the P to 500 !! is that correct
Replied by Clive S on topic Read error and following error Mesa 7i96
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19510
- Thank you received: 6543
22 Jun 2020 09:57 #172313
by tommylight
Replied by tommylight on topic Read error and following error Mesa 7i96
Yes that is correct.
The following user(s) said Thank You: Clive S
Please Log in or Create an account to join the conversation.
- PCW
- Online
- Moderator
Less
More
- Posts: 17988
- Thank you received: 4837
22 Jun 2020 14:09 #172342
by PCW
Replied by PCW on topic Read error and following error Mesa 7i96
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.
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.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2240
- Thank you received: 474
22 Jun 2020 16:40 #172369
by Clive S
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.
Replied by Clive S on topic Read error and following error Mesa 7i96
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.141 seconds