I'm having problems to understand how the robot path accelertion works on our FB in the PlcOpen library ( the same behaviour on the CXA_Motion function) . As you can see in the attached screenshots to get a trace difference in the acceleration feedback and in the cycle time I had to change the acceleration settings from 5000 mm/s2 ( 1st case ) to 1 mm/s2.
This is very strange to me but maybe I'm missing something.
Please could you have me to understand and eventually corret what generate that behaviour ?
Solved! Go to Solution.
I am a little confused because in your code you are using functions, that does not exist. Did you write your own function blocks from the motion functions?
It would also be easier for us if you would have sent us the complete project or appData, not only this program snippets.
It could happen that you are simply missing the ramp values. So for me there are some open questions:
My measurement with your unchanged command values (vel=200,acc=dec=1000,jrk=100000) increased limits and standard units. There I miss the ramping up because of the high acceleration 1000m/s2:
EDIT: My measurement with your unchanged command values (vel=200,acc=dec=1000,jrk=100000) increased limits and changed units:
sorry I miss the MC_AddAxisToGroup in the previous program, now I added it ( see new attached file ) but the result are quite the same.
I also added some new screenshots about the trace and the axis and kinematics settings I have.
Please look at the action aPlcOpen in the PLC_PROG program.
Please let me know if you need more infos
Waintng for your feedback.
In your screenshots you gave your self the answer I guess:
You think you are commanding mm/s² but the motion kernel calculates m/s² so it is a extremely fast acceleration (5000m/s²) and in 80ms, what then must be the cycle time of your task, the ramp up of the values is simply already done from one to the other measuring point.
Ok thanks a changed the measuring units and now it OK.
One question : is it posisble to avoid the acceleration jump at each block change during the robot path that is shown in the screenshot below ?
What exactly do you like to avoid there? The actual acceleration will always change when velocity changes. It only looks like a peak because the time it is not zero is that short. If you like to keep it lower command less or use a lower jerk.
But in this case the velocity is the same in all the programmed point. There is no velocity change as you can see in the screenshot. So why we have an acceleration jump each block change .
With the old control (MLC/XM) using continuos slope this was not happening.
Just to understand the behaviour.
As soon as you are using cont slope in the ctrlX MOTION it will also not happen there. But for now you are using block slope. So what you see in the values is always the actual running command. That means that the peak at 13s is the change between the first and the second command while blending.
Also your still having a quite low resolution in your trace so you cannot see any ramping up or down or even at 13,25s it seems your record is missing a peak.
OK Thanks, but How could I set the Contonuos Slope ? In the MLC/XM there is an FB input parameter to do it but I could not find it in the same FB in CtrlX. Could you help me ??
Continuous slope is planned for release RM21.11 (1V12) end of November. So it cannot be used at the moment.