Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

No source code available

chalk
2024-02-02
2024-02-05
  • chalk - 2024-02-02

    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

     
  • dhumphries - 2024-02-03

    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
  • chalk - 2024-02-05

    Thanks dhumphries ill give that a go.

     

Log in to post a comment.