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

Handle different drives with different cycle times?

Handle different drives with different cycle times?

ericvergara
Occasional Contributor

Hello,

We would like to run some axes to the standard 2 ms Ethercat time and the others to a higher cycle time for example 4 or 6 ms as we intend to free load of the cpu,

Is this possible with the actual ctrlX Core? If so, how can we do that?

Many thanks,

4 REPLIES 4

CodeShepherd
Community Moderator
Community Moderator

As in a ctrlX CORE X3 there is only one EtherCatMaster with a single update rate it is not possible to have slaves with different update rates. But the EtherCat should not utilize much CPU load.

Having different PLC tasks with different task cycles for axes commanding will have a way greater effect.

With the high performance ctrlX CORE X7 it is planned to have more then one EtherCatMaster so it will be possible for this hardware.

ericvergara
Occasional Contributor

Hello CodeSheperd,

Thank you for your fast answer, another question regarding this topic,

What if I want to command the axes with Softmotion / Motion? The motion task (that is the Ethercat Cycle Time) could run at 2 / 4 / 6 ms,

Can I command axes at the cycle time of the motion task and the other axes with another cycle time?

Thanks, 

Like mentioned above, commanding of axes is always possible, independently of the cycle time of the fieldbus, e.g. via the PLC in different tasks and cycle times. So it doesn't matter if ctrlX MOTION or Codesys Softmotion is used. The update rate of the EtherCat and so the cyclic position command value would still be sent each 2ms.

As an example:

  1. You have two tasks one running in 10ms and one in 4ms. You use the first one to check position and command some axes and the same in the second for other axes. Then the commands are added to the ctrlX Motion in 10ms/4ms but the interpolator will run in 2ms to be able to send each bus cycle a new position to the drive.
  2. Same for Codesys softmotion but if its interpolator is running in the first task, the drive will get five times the same position command as the fieldbus is still running in 2ms. Further more the softstack could/will utilize more CPU load the ctrlX MOTION does.

ericvergara
Occasional Contributor

Thanks CodeSheperd,

Super clear!

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