I'm trying to test the PlcOpen library to make a robot pick&place cycle but I got some strange behaviour while trying to blend the robot points
It seems that when the robot reach the begining of the blending area there is a position jump in the robot position. I don not know why ?
Could someoe help me to understamd what is wrong ?
I attached the plc program export and a screen shot of the robot path position feedback
Solved! Go to Solution.
Please tell us the verions of your installed apps. Or simply create an system report in the web interface of the ctrlX CORE:
Your system Report was made out of the ctrlX WORKS engineering tool package and not the ctrlX CORE web interface. But independently I will have a look at it.
I tried to do it again. I hope this time hyou'll find the info you need.
Manu Thanks for you help
I can reproduce the behavior here but will need some time to investigate. I will respond here as soon as possible.
Sorry for the delay. I am quite busy.
First of all I like to tell you that some function blocks (MC_AddAxisToGroup) are missing, that adds your axes functional to the kinematic while runtime. So only the Robot will be interpolated but there will be no change in the axes values.
I forwarded the problem to our R&D.
Sorry but I did not understand your last comment. It seems to me that the axis are groupped but is the blend the is not runnign as it shoul be.
I saw that not all the function are already available on the plcOpen library but the ones already in should be enough to move a robot but not to blend the path ( not working ) Is that right ?
Anoter question : If I use the CX_Motion library will the blend error still be present ?
Please if possible let me know when the development will solve the blend problem
You have function blocks inside your program:
MC_Power for enabling power to all axes, MC_GroupEnable for enabling power of the kinematic, MC_MoveLinearAbsolute for moving the kinematic but for the PLC open statemachine (see documentation) there is one step missing. That is MC_AddAxisToGroup to add the axes to the kinematic after enabling them and before enabling the kinematic.
Blending should also work. See online documentation or docu inside of the library for more information.
I tested your code (extended with addtokin) with real axes and they seemed to run smoothly. So probably this is only an read value topic. The plan is to analyse the problem next week. We will let you know.
With the CXA_MOTION or CXA_MOTION_INTERFACE I have never seen this problem before.
I have som questions related to the initial topic, please could you answer it just to clarify me some point?
1. Do you have any news about the problem with the blending error with PlcOpen library ?
2. Is there any performance difference in the robot path planner behavior using the PlcOpen library or the CXA_Motion library ?
3. I tried the blending function using the CXA_Motion lib and I motinored both the path velocity and acceleration. In the trace I can see that in the blending points the velocity seems to be constast but I see a acceleration pick at each blending point ( programmed acceleratio ) .This could generate vibration in the robot mechanical parts. Is that due to the slope type used to blend ? Is it the block slope ? Will It be improved in the future with Continuos slope ( as in the MLC ) or something even better ?
Sorry I lost the track of this topic for some days.
Our R&D has found an bug in our ctrlX MOTION app that causes this behaviour. The will be an fix in the next release milestone RM21.07 (version 1.10) end of July.
If there is an more urgent matter please get in contact with us directly again.