OPC UA Client (Error 7001) - CODESYS v3.5

Hello Community,

I am receiving an error with the OPC UA Client in CODESYS v3.5. There seems to be a limit for the number of connections. I can connect to 10 servers without any errors. When I connect to the 11th server, one of the connections drops and I receive this error.

I did not see this error when I use the OPC UA Client in Node-RED, so I believe that this is a CODESYS limitation.

I have the server and client for non-secured, anonymous connections.

  • Server (WBM Settings)
    PLC Runtime Port Authentication is also disabled (needed for Anonymous Connections)
    image

  • Client (CODESYS Settings)
    image

Thank you,

I found a similar post on CODESYS Forge from 2022. It appears to be tied to TLSContext, but am still not able to make more than 10 connections with security set to “None”.

https://forge.codesys.com/forge/talk/Engineering/thread/aedd014bce/

I think you have to make an adjustment in the file /etc/codesys3.d/CODESYSControl.cfg

[CmpOPCUAClient]
MaxClients=20

Never tested though.

2 Likes

Thank you, quenorha!

I added this line to the .cfg file and it now allows more connections. In this case is set the MaxClients=16.

I am currently testing the performance with the added connections.

3 Likes