ger21 wrote:What stepper drives are you using? Many will not work properly at 400Khz.
The problem is still present at 100khz. Stepper drives are no-name Hu-Flung-Pu that came with the mill. 4.5amp-ish.
Settings are ~10,000 steps per inch, 150ipm max, 50in/sec2. Rotary axis set to 500 steps/inch, 1500units/sec, 150units/sec2 (corresponds with 5RPM for my worm drive).
Normal movements, from creeping a 'thou at a time to full rapid is fine.
(Aside from the random 'jumping' I mentioned earlier in the thread.)It's only when I rapid one way and aggressively reverse direction that the axis keeps going until I let off the joystick. Then it stops, and the DRO reports the actual movement - no lost steps or position error.
Robertspark wrote:Out of interest, do your drives decelerate and then accelerate?
Yes. When I reverse the stick from one extreme to another, the axis stutters (decelerates and then accelerates) and then keeps going in the original direction. It does not come to a complete stop, just slows and then keeps going. The faster I reverse the joystick, the less it slows down. Very fast stick movements appear not to slow down at all, although I can hear a change in motor noise as the stick crosses the zero point.
I've not tried the scope plugin, but the xbox plugin has a display that indicates stick position, and UCCNC is seeing/reporting the stick change from left to right.
The diagnostic LED's are indicating UCCNC is NOT changing commanded direction to the drives. When the axis slows and then keeps going, the original direction pin LED remains lit.
Axis acceleration - the rotary A axis is really, really soft now so I don't lose steps because I've got the backlash tightened right down. The X/Y/Z are pretty snappy at 50 units/sec2, but won't shake the mill when they take off or stop quickly. Setting the X axis acceleration to 5 or 10 makes no difference.
Jogging with keyboard - same thing happens if I jog with keyboard, sort-of. If I press the left arrow key (100% jog) and then switch very quickly to the right key, the axis continues moving in the original direction (same as with joystick). If I take my finger off the left key and pause for a brief period (<1 sec) then motion is as expected and the movement reverses.
It's like UCCNC needs a bit more time between commanded movements at rapid speed to register the direction change.
Running G0 X0 G0 X10 back and forth works properly. Same for all other axis.
Honestly, this isn't as big an issue for me as the axis jumping. I don't rapid back and forth all the time, and it's easy to avoid. The jumping issue is
much more serious as it could ram a tool in to a part or wipe out my edge finder when I'm trying to sneak up on a part edge. It's interesting, and may be another symptom related to the jumping, but I'd rather solve that one before abandoning the Xbox in favor of an MPG. I have some expensive parts coming up and can't risk scrapping them due to a jumping mill.
Regards,
Spumco