I promise I don't go looking to break things as I WANT them to work.
I imagine I am coloring outside the lines, but this is the only issue I have seen with AXVEL. I was playing around with it and got to wondering how it would respond to the velocity setpoint getting yanked around (because that's how it goes) with S-Curve. It is way better than I ever managed to kludge together when a packaged one wasn't available. But then I stumbled upon one scenario (combination of settings and setpoint change at a particular point.) I am attaching a screenshot.
This occurs when the decel rate is maybe 15% or less than the accel rate. The less it is the more noticeable it gets. It is similar if the accel is 15% or less than the decel. And it shows up predominantly if the setpoint is changed after the S-Curve at start has finished and the setpoint will be before the velocity it has just passed, especially if it was heading toward a velocity much greater than current. (I don't even know what I just said.) Maybe that will explain the screenshot. I started at zero velocity with a setpoint of 5000 and then dropped the setpoint to 2000 around a velocity of 2300. Sorry, the minor tick marks are not on 100s. What I am seeing is an immediate reduction in velocity but after a point the velocity output jumps back onto the "preplanned" curve. I have not played with the S-Curve setting to see how that factors in.
I just saw the screenshot has the names covered for the trend.
Yellow is $Axis0.TargetVelocity
Green is $Axis0.CurrentVelocity
Maybe just a precautionary tale - Don't do what I do.
