Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important information on the platform change.

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

Softmotion Robot MC_GroupEnable does not work

Softmotion Robot MC_GroupEnable does not work

giustola69
Long-established Member

Hello,

I'm tryning to use the Codesys Softmotion robot functionality but I could not be able to enable the kinematic group using the MC_GroupEnable function block.

The kinematic axis power on works properly but when I try to group the axis the function block stay in "Busy" state with no errors but the axis do not group in the kinematic.

You can see how I configurate the system and the FB status in the attached screenshots.

Please could you help me to understand where is the problem ?

Many Thanks

P.S.: I do not have the Codesys Softmotion App lincence so I'm working withe the 30 minutes fren trial but I the other library functions ( like cam synchronization for instance ) are working well during the trial time

Giuseppe

4 REPLIES 4

bostroemc
Occasional Contributor

I believe MC_GroupEnable must be called in the Bus Cycle Task.  The task configuration I use, which after many hours of testing appears to be working, is shown in the attached files.

@CODESYS:  Is documenation describing SoftMotion_PlanningTask available?  What exactly is happening in this task and is it sufficient to configure it as a cycle task?

giustola69
Long-established Member

Hello,

you were right. I called the  MC_GroupEnable in the Bus Cycle Task and it worked well.

But at this point what the SoftMotion_PlanningTask stand for since it is automatically generated when you create a kinematic group?

Many thanks for your help

Giuseppe

bostroemc
Occasional Contributor

The CODESYS documentation describes SoftMotion_PlanningTask as being required for CP (continuous path) motion, but doesn't give many details.  Interestingly, the documentation recommends that it be configured as "freewheeling", which differs from the default configuration ("cyclic").

 

Untitled.png

 

 

Nathanael
Established Member

Many thanks,
I also encountered an Exception issue when I added an additionnal Task (cyclic - 10ms) once I I've started to run a robot with Motion queue buffering.
By changing SoftMotion_PlanningTask to Freewheeling, this problem has disapeared.

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