cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Robot blending error using PlcOpen Library function block

giustola69
Established Member

Robot blending error using PlcOpen Library function block

Hello ,

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

Many Thanks

Giuseppe

12 REPLIES 12
CodeShepherd
Community Moderator

Re: Robot blending error using PlcOpen Library function block

Please tell us the verions of your installed apps. Or simply create an system report in the web interface of the ctrlX CORE:

2021-03-22_14h05_20.png

giustola69
Established Member

Re: Robot blending error using PlcOpen Library function block

Hello,

I attached the system report and below you have the apps version

2021-03-22_14h56_54.png

CodeShepherd
Community Moderator

Re: Robot blending error using PlcOpen Library function block

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.

giustola69
Established Member

Re: Robot blending error using PlcOpen Library function block

Hello,

I tried to do it again. I hope this time hyou'll find the info you need.

Manu Thanks for you help

Giuseppe

CodeShepherd
Community Moderator

Re: Robot blending error using PlcOpen Library function block

I can reproduce the behavior here but will need some time to investigate. I will respond here as soon as possible.

giustola69
Established Member

Re: Robot blending error using PlcOpen Library function block

OK , thanks .

I'll wait no problem

Best regards,

Giuseppe

CodeShepherd
Community Moderator

Re: Robot blending error using PlcOpen Library function block

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.

giustola69
Established Member

Re: Robot blending error using PlcOpen Library function block

Hello,

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

Many thanks

Giuseppe

CodeShepherd
Community Moderator

Re: Robot blending error using PlcOpen Library function block

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.

CodeShepherd_0-1616748300939.png

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.

giustola69
Established Member

Re: Robot blending error using PlcOpen Library function block

Hello,

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 ?

Many Thanks

Giuseppe

 

CodeShepherd
Community Moderator

Re: Robot blending error using PlcOpen Library function block

  1. Our R&D started investigating the issue and found that it is an display problem only. But due to holidays in germany they will go on next week.
  2. No performance difference.
  3. At the moment block slope is usable only. The continuous slope will follow in the next releases.
CodeShepherd
Community Moderator

Re: Robot blending error using PlcOpen Library function block

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.

Tags (2)
Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist