Random motion and lost steps after upgrade
- Andreas.Schafferloh
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
16 Oct 2016 17:30 #81693
by Andreas.Schafferloh
Good idea, but it is still RTAI:
3.4-9-rtai-686-pae
I'll make the next days some tests
a) with the up to date set up I just use a toothpick as "cutting tool" to prevent further costs (have a tool length sensor; So I need something as a dummy)...Let's see if the error is in any kind reproducible
b) if it still comes up I switch back to 2.7.5 and retest. Let's see if the error happens there, too.
Replied by Andreas.Schafferloh on topic Random motion and lost steps after upgrade
I think it is unlikely that the changes to LinuxCNC are the cause of this:
linuxcnc.org/2016/07/31/LinuxCNC-2.7.6/
linuxcnc.org/2016/09/08/LinuxCNC-2.7.7/
Can you check that you are still using the right kernel? (uname -r command)
Good idea, but it is still RTAI:
3.4-9-rtai-686-pae
I'll make the next days some tests
a) with the up to date set up I just use a toothpick as "cutting tool" to prevent further costs (have a tool length sensor; So I need something as a dummy)...Let's see if the error is in any kind reproducible
b) if it still comes up I switch back to 2.7.5 and retest. Let's see if the error happens there, too.
Please Log in or Create an account to join the conversation.
16 Oct 2016 18:51 #81696
by PCW
Replied by PCW on topic Random motion and lost steps after upgrade
What are you ferror settings?
Please Log in or Create an account to join the conversation.
- Andreas.Schafferloh
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
16 Oct 2016 22:00 #81702
by Andreas.Schafferloh
Replied by Andreas.Schafferloh on topic Random motion and lost steps after upgrade
On all achsis I have FERROR = 1 and min = 0.25
(the standard according to the doc seems to be min = 0.01 but I'm not sure anymore if/why I had changes this. Was years ago...)
Is this ferror only applicable for servos? I have regular stepper motors.
I'll post my hal/ini tomorrow. It is now midnight in Germany.
(the standard according to the doc seems to be min = 0.01 but I'm not sure anymore if/why I had changes this. Was years ago...)
Is this ferror only applicable for servos? I have regular stepper motors.
I'll post my hal/ini tomorrow. It is now midnight in Germany.
Please Log in or Create an account to join the conversation.
16 Oct 2016 22:26 #81703
by PCW
Replied by PCW on topic Random motion and lost steps after upgrade
If those are mm and the problem is real that suggests the error is in the trajectory planner
The step generator is effectively a velocity mode servo system
The step generator is effectively a velocity mode servo system
Please Log in or Create an account to join the conversation.
- Andreas.Schafferloh
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
17 Oct 2016 17:32 #81736
by Andreas.Schafferloh
Replied by Andreas.Schafferloh on topic Random motion and lost steps after upgrade
Yes, all settings are for mm in my ini/hal. Attached is now a backup of the config as tar.gz
The problem seems only to be the Z achsis; X/Y work fine.
Z achsis is adjusted to be 0 at the ground and then with positive values the higher you go. Means you typically mill between 0 and 20 mm.
I'll make some tests with 2.7.7 now to see if I can enforce a wrongdoing.
The problem seems only to be the Z achsis; X/Y work fine.
Z achsis is adjusted to be 0 at the ground and then with positive values the higher you go. Means you typically mill between 0 and 20 mm.
I'll make some tests with 2.7.7 now to see if I can enforce a wrongdoing.
Please Log in or Create an account to join the conversation.
19 Oct 2016 00:16 #81813
by oddwick
Replied by oddwick on topic Random motion and lost steps after upgrade
sorry, but I've been really busy the last few days to reply back! anyway, I've done everything that i could think of, used two different computers, onboard and off board parallel ports, and even a complete re-install and scratch hal and ini's all to no avail. in the end, i just ended up downgrading down to 2.6 and all works well, just no JA homing
![:( :(](/media/kunena/emoticons/sad.png)
Please Log in or Create an account to join the conversation.
20 Oct 2016 17:21 #81891
by andypugh
Replied by andypugh on topic Random motion and lost steps after upgrade
Is it possible that the problem is still there in 2.6, but because that doesn't have the trajectory speed enhancements of 2.7 the problem is not encountered?
Please Log in or Create an account to join the conversation.
20 Oct 2016 18:12 #81897
by oddwick
Replied by oddwick on topic Random motion and lost steps after upgrade
I haven't really had the chance to put it through it's paces, but so far all seems to be on track. I even did a complete re-install from the 2.7 wheezy image and upgraded to 2.8pre and the problem still would not go away. soon as i rolled back to 2.6 on lucid, everything seems to work great. maybe my computer hates wheezy, i know i do!
Please Log in or Create an account to join the conversation.
20 Oct 2016 18:32 #81898
by andypugh
Replied by andypugh on topic Random motion and lost steps after upgrade
You can run 2.7 and 2.8 on Lucid. No need to change OS.
Just upgrade through synaptic.
Just upgrade through synaptic.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Away
- Platinum Member
-
Less
More
- Posts: 4978
- Thank you received: 1377
20 Oct 2016 19:33 #81900
by Todd Zuercher
Replied by Todd Zuercher on topic Random motion and lost steps after upgrade
The acceleration and velocity profiles can be quite different with the new vs old trajectory planner. Have you tried running 2.7 or 2.8 with the new planner disabled?
In your ini file under the [TRAJ] section find ARC_BLEND_ENABLE = 1 and change it to 0 That should revert the trajectory planning back to the old system. See if that might make a difference for you. It is possible that your config settings for the Z are borderline enough that the higher performance of the new planner pushes them over the edge.
In your ini file under the [TRAJ] section find ARC_BLEND_ENABLE = 1 and change it to 0 That should revert the trajectory planning back to the old system. See if that might make a difference for you. It is possible that your config settings for the Z are borderline enough that the higher performance of the new planner pushes them over the edge.
Please Log in or Create an account to join the conversation.
Time to create page: 0.098 seconds