This is my first time using Codesys, I am trying to add EtherNetIP communication to a Raspberry PI. Iβve added the EtherNetIP Adapter configured the network setting and added some modules to the pi but when I download the project it generates the following error: βThere is no source code available for the object because it is in the compiled library βcip object, 4.5.1.0 (3s β smart software solution gmbh)β. Do you want to browse for the original library in order to display the source code?
There are 2 errors in the log which are: SOURCEPOSITION App=[Application] area=3, offset=332760 EXCEPTION[Application] occurred: App=[Application], Task=[ENIPAdapterServiceTask]
I canβt for the life of me work out how to get around this. I canβt find the source code anywhere or any information regarding this error.
Iβm using Codesys V3.5 SP19 Patch 3, the version of the Ethernet adapter is 4.5.1.0 and the version of the modules is 4.1.0.0.
Try using an Ethernet/IP scanner instead of an adapter, I'm guessing the 2 devices you're trying to communicate with are adapters, you have to have a scanner somewhere and Codesys should be a scanner.
I don't know why you're getting the error, you should be able to use your Ethernet port as an EthernetIP adapter (although I've never had a reason to try,) but it's probably not what you wanted to do, unless you're connecting to another PLC that is a scanner.
Good luck configuring the devices you're trying to connect to, it will be a lot easier if you have an .EDS file instead of starting with a generic module, even with an .EDS it can be tricky getting the communication working.
Hello,
This is my first time using Codesys, I am trying to add EtherNetIP communication to a Raspberry PI. Iβve added the EtherNetIP Adapter configured the network setting and added some modules to the pi but when I download the project it generates the following error: βThere is no source code available for the object because it is in the compiled library βcip object, 4.5.1.0 (3s β smart software solution gmbh)β. Do you want to browse for the original library in order to display the source code?
There are 2 errors in the log which are:
SOURCEPOSITION App=[Application] area=3, offset=332760
EXCEPTION [Application] occurred: App=[Application], Task=[ENIPAdapterServiceTask]
I canβt for the life of me work out how to get around this. I canβt find the source code anywhere or any information regarding this error.
Iβm using Codesys V3.5 SP19 Patch 3, the version of the Ethernet adapter is 4.5.1.0 and the version of the modules is 4.1.0.0.
Any help on this will be greatly appreciated.
Thanks
Try using an Ethernet/IP scanner instead of an adapter, I'm guessing the 2 devices you're trying to communicate with are adapters, you have to have a scanner somewhere and Codesys should be a scanner.
I don't know why you're getting the error, you should be able to use your Ethernet port as an EthernetIP adapter (although I've never had a reason to try,) but it's probably not what you wanted to do, unless you're connecting to another PLC that is a scanner.
Good luck configuring the devices you're trying to connect to, it will be a lot easier if you have an .EDS file instead of starting with a generic module, even with an .EDS it can be tricky getting the communication working.
Last edit: dhumphries 2024-02-03
Thanks dhumphries ill give that a go.