No stranger to motion. Historically, always programmed MAM in either real units or % of planner values in axis configuration. Ran across someone else's code and the MAM speed and accel/decel are programmed option 3, units of time. Help/manual a little light on what this means or the unit. Assuming seconds, if there is a speed of 1s and accel/decel of 1s, and a distance of 10 units, does that mean the move completes in 1 s, and it internally calculates the speed/accel/decel to achieve the move of 10 in 1s? I can see using the speed, and back calculating time assuming infinite accel/decel. If initial speed is 0, and need to move 10 units in 1 sec, then speed is simply 10 units/s. But obviously accel/decel take time and so the resultant final speed is something greater than 10 units/sec. Trying ro wrap my head around the formula to figure out how Rockwell takes a value of time for accel and decel and turns that into units/sec2 and then a unit of time for speed and does the same to get unit/sec. It would be easy to calculate final velocity if one knows the time of the move, the distance, and the time of each accel and decel. Simple area Calc of a trapezium. But I'm struggling trying to turn the time value of decel and accel into something useful in the formula.
As a real example, the MAM has a move of 30 inches, speed of .06 (60 ms) and accel of 2. When I trend the commanded position, it appears the move completes in 60 ms. Changing the accel/decel predictably changes the slope, shortening or lengthening the time it's the final velocity. But I can't figure out how accel value of 2 translates to actual time of the overall move or the final speed. Completing in 60ms, obviously 2 isn't 2 seconds.
I'm sure I'll have a V8 moment when someone points me in the right direction, but I'm stuck. Probably the use of SUVAT equations?
As a real example, the MAM has a move of 30 inches, speed of .06 (60 ms) and accel of 2. When I trend the commanded position, it appears the move completes in 60 ms. Changing the accel/decel predictably changes the slope, shortening or lengthening the time it's the final velocity. But I can't figure out how accel value of 2 translates to actual time of the overall move or the final speed. Completing in 60ms, obviously 2 isn't 2 seconds.
I'm sure I'll have a V8 moment when someone points me in the right direction, but I'm stuck. Probably the use of SUVAT equations?
Last edited: