I am working on EtherCAT protocol and trying to read EtherCAT SDO parameter using CoDeSys. I did all the configuration and added suported libraries. but when I am trying to go online, CoDeSys is throwing me error :
"No source code available for this object because it is in the compiled library 'ethercatstack, 188.8.131.52'. Do you want to browse for the original library in order to display the source code?"
I am not getting what I am doing wrong and how to resolve this error. Can someone please help me in resolving this error?
Libraries that I am using : snap is attached. I am using "ETC_CO_SdoRead()" function to read SDO.
Thanks in advance for the help!!!
it looks like you're causing an exception in this library right on start.
Codesys can't tell you where because it has no source for the library.
Cause could be an invalid pointer.
I don't understand. I have just called the function to read SDO. Here are the snaps of my PRG and FB code:
Can you please help? Thanks.
When I open the library and double click on the function, then also it gives same error. Is there any problem in library itself?
You have to declare some inputs.
usiCom:= 1, //index of master 1: first ETC master
I have declared these inputs, still getting same error. Here is the snap:
Log in to post a comment.