Ethernet IP Adapter and Scanner In Same Project

mrbaltar
2022-12-13
2023-06-03
  • mrbaltar - 2022-12-13

    Since migrating to Codesys V3.5.18 (64-bit) I am no longer able to add both an ethernet/IP adapter and an ethernet/IP scanner to a project. I receive three compile errors (attached). As soon as I remove either one of these the code compiles fine, meaning I can get an adapter to work or a scanner to work, but not together. The Codesys help shows both in a project, and it used to work on V3.5.16. Below is a link to the help page. I've tried adding another NIC and moving one to there. I got the same error. I also tried switching my application from a Pi to a PC. That did not help. Anyone else seen this or have a solution? For clarity, the reason I need both is that I need the Codesys PLC to be able to talk to a Rockwell PLC via implicit messaging. I also need to be able to talk to a bunch of Cognex cameras over ethernet/IP.

    https://help.codesys.com/webapp/_enic_f_scanner;product=core_EthernetIP_Configuration_Editor;version=4.1.0.0

     
    πŸ‘
    1
  • mrbaltar - 2023-03-22

    Got a reply from Codesys support. This was a bug. It is fixed by upping Ethernet/IP from 4.3.0.0 to 4.4.0.0+. Now both can be added in a project.

     
    πŸ‘
    1
  • AlfredoQuintero - 2023-03-22

    This is very useful. Thanks for posting the solution.

     
    πŸ‘
    1
  • richard-wang - 2023-06-03

    I have the same problem, just curious, did you solve this problem? Do you have to upgrade your codesys software?

     
  • richard-wang - 2023-06-03

    I followed your suggestion, problem solved, THX

     

Log in to post a comment.