Page 1 of 1

Position flips sign at low feeds bug report and work around

Posted: Sat Mar 06, 2021 2:24 pm
by Matthew McMillion
I was doing some fly cutting at 2IPM using MDI and noticed some unusual behavior. This behavior was repeatable from any location on the table and when run from a program. I only experimented in x axis, but this behavior may repeat for the others.
My program code was: "G01 G90 X-6.0 F2.0"
After travelling beyond -4.0" the machine would hick-up as if it lost steps and the position readout would flip sign to +4.**" It would continue feeding trying to get to -6" but would repeat the hickup and sign flip when it reached -4.**" again. It would continue this indefinitely. It also occured if I tried to go to +6" in my g-code but with all signs reversed.
After trying several things without affect, I found that if I changed the feed this fault would happen at different locations.
At 1IPM it was ~2"
At 2IPM it was ~4"
At 3IPM it was ~6"
At 4IPM it was ~8"
The pattern is approximately 2xfeed...on my machine.

I was able to work around this by breaking the long travel segment up into smaller chuncks or by using a feed that was higher. I think though, that long linear moves on larger machines could run into this problem at higher feeds based on the pattern here.

Things I tried that did NOT change the behavior.
Changing microstepping.
Changing Acceleration.
Changing Jerk.
Disabling limit switches.
Updating firmware from .4* to most current (New layout and features look awesome btw!)

I also didn't try any mult axis moves or arc moves to see if the problem occurred there. I mention it because others may be having this issue and need a work around and maybe it's something fixable in the code. My lead on the ballscrew would affect the distance travelled so I'll report that too (2.5mm).

Cheers!

Re: Position flips sign at low feeds bug report and work around

Posted: Sun Mar 07, 2021 4:06 pm
by Doug
Thank you for reporting this issue. I have duplicated it here and we will look into it.

Re: Position flips sign at low feeds bug report and work around

Posted: Sun Mar 07, 2021 7:37 pm
by Doug
This will be fixed in release 1.0.

Re: Position flips sign at low feeds bug report and work around

Posted: Sun Mar 07, 2021 8:07 pm
by Matthew McMillion
Wow! On a Sunday too! Great!