I’m having a issue connecting to Factory IO and Codesys using OPC. My Codesys is version 22.214.171.124 and I have Factory IO version 2.5.6. I created the sample project as shown in the Codesys tutorial and compiled and downloaded with no errors. I can attach to the Codesys OPC server with UA Expert and access all the data and perform read and writes with no issues. I can also attach with my Ignition gateway with no issues. Thank you in advance! Modbus TCP works well, too.
Typically, this problem is related to port 4840, which OPC UA Local Discovery Server uses. This service allows UA clients to discover UA servers on the local machine. To see if this is the problem, I recommend that you stop the OPC UA Local Discovery Server service and try to connect to Codesys afterward.
That took care of the problem! I’m a little new at OPC but I’m working at it!