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 ?
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
Solved! Go to Solution.
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?
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
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").