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.
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
more posts ...
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.
This is very useful. Thanks for posting the solution.
I have the same problem, just curious, did you solve this problem? Do you have to upgrade your codesys software?
I followed your suggestion, problem solved, THX