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

ECATCoeWriteSdo

ECATCoeWriteSdo

joelfernandez
New Poster

Hello,

I'm trying to communicate an EFC5610 with ctrlX. I use function blocks (IL_ECATCoeWriteSdo and IL_ECATCoeReadSdo) because the EFC is configurate for Ethercat.

The problem is that I can read many parameters (acyclic) but I can't write parameters. When I try, in the FB appears an error. The error is this:

joelfernandez_1-1712153534809.pngjoelfernandez_0-1712153512053.png

I try different values of Subindex, different parameters but the result is the same...

The configuration of FB is this:

joelfernandez_2-1712153787833.png 

joelfernandez_3-1712153811872.png

I put a TRUE in the CompleteAccess, or a value in Timeout, but it doesn't work.

Many thanks!!

 

 

2 REPLIES 2

CodeShepherd
Community Moderator
Community Moderator

Please have a look to the examples inside of the library CXA_EtherCatMaster:

ctrlX PLC Engineering - CXA_EtherCatMAster - CoE write examplectrlX PLC Engineering - CXA_EtherCatMAster - CoE write example

The error in your screenshot is pointing out that the addressing is done wrong. Which parameter of the EFC are you trying to access? 

Hello,

The problem is that I adress a wrong parameter.

Thanks.

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