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

XCS2 Spindle Motor with TwinCAT CNC

XCS2 Spindle Motor with TwinCAT CNC

ControlsFun
Occasional Visitor

I have an application that I'm trying to get a Bosch XCS2 Spindle working with the Beckhoff CNC Kernel.  I've been able to create my spindle axis in TwinCAT, and communicate with the drive just fine.  Where I'm running into issues is it seems my control word / status word is bitshifted or something.  My enable works fine being commanded from the CNC, but clearing faults and resetting the drive after activating a configuration isn't functioning using SoE.  Feedback position is coming through just fine, the status words are agreeing looking at TwinCAT vs ctrlX Engineering.  If anyone has done this before, I would appreciate any help.

After more in depth analysis, it appears that the firmware for the drive that I have is before FSoE was supported by CoE (CAN over EtherCAT).  There seems to be an issue where SoE (Sercos over EtherCAT) is not properly passing the reset / clear fault function from the CNC Kernel.  For anyone looking for help with this, your firmware has be newer than 0502 in the XCS2 platform.

1 REPLY 1

CodeShepherd
Community Moderator
Community Moderator

As additional information SoE = Servodrive profile over EtherCat. See online documentation of our EtherCat master or see external documentation.

Good to hear its working from ctrlX DRIVE runtime version  FWA-XD1-AXS-V-0502N-NN on

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