FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
09-15-2022 08:21 PM - edited 09-15-2022 08:40 PM
I am attempting to configure the Encoder portion of the titled module. When I try to write the CoE objet described in the manual through the IO software I get the following error:
or this error:
To verify that the parameter exists and that the parameter was valid I first read the CoE object and then attempted to write it. This is parameter 16#0080 and subindex 3. Any help is appreciated.
Solved! Go to Solution.
09-16-2022 08:18 AM - edited 09-16-2022 08:19 AM
Hello Alex,
example can be found in the docu of the bus coupler.
Two examples one for directly read/write CoE and the other to setup startup parameters, please see https://www.boschrexroth.com/documents/12605/25200368/R911385711_02.pdf
If you followed this, it will be great when you share, what you tried to write.
Or you use the function block for the module in the CXA_S20 lib.
09-16-2022 03:00 PM - edited 09-16-2022 03:02 PM
@cc2go, yes, thank you. The manual you referenced is what I was using. In the end I was able to get the following to work. I copied the data from the read parameter SDO and moved it to the write SDO (with modifications for my applicaiton) in the IO software noting that bytes 6 and 7 should be removed.
I still have the problem that the function block IL_ECAT_CoEWriteSDO does not accept the same data. I will get a screen shot of the error and provide it.
09-16-2022 03:36 PM - edited 09-16-2022 03:36 PM
The data must be entered in the way I described before but I made the mistake of setting the index on the function block to 2000 instead of 16#2000 😫. Once this was corrected then the array that was written in the IO configuration worked correctly.
A utility to write these configuratoins would be very helpful, otherwise we need to read the manual and byte by byte determine what the data should be.