Dear forum,
I currently have a big question mark above my head, and maybe this forum can shine some light on the situation.
I recently updated to Codesys 3.15 SP19 Patch 6. And now Iβm trying to setup the OPC-UA server, besides that Iβm trying to connect to the controller with the Codesys V3 (Ethernet) protocol.
OPC-UA
I have installed the correct licenses on my controller (Runtime and communication). Iβm able to connect to the controller with an OPC-UA client, and Iβm able to browse the tags, so far so good. Therefore Iβm assuming that the OPC-UA server is running on the controller. But now the strange part, in the device security settings I have set the communication Policy to BASCI256SHA256 ( I also have tried the other ones) and the communication mode is set to secure if possible (I also have tried all the other ones) (see picture). With these settings I would assume that I would only be able to login with a Basic256SHA256 policy with a client. But the opposite is true, I am able to login using the no policy mode and when I set it to Basic256SHA256 the client (UA-Expert) notes that this policy is not available on the server. I then check the certificates and I noted that there is no certificate for the OPC-UA server, I tried to generate one but it gave the error that the certificate has not been created by the device (See picture).
To summarize I have no clue what is going on, and the controller does the opposite of what I would expect.
Codesys Ethernet V3 driver
I have a HMI connected to the same controller using the Ethernet V3 driver. But this will not connect. I tried all the Protocols (see picture), with and without the username and password enabled. But it will not connect, when I scan the available servers I can see the controller with the port number that I am expecting, so Iβm assuming that the Codesys V3 ethernet driver is up on the controller.
Does anyone can give me some direction, because the stuff that I tried doesnβt make sense to me.
Thank you in advance
Dear forum,
I currently have a big question mark above my head, and maybe this forum can shine some light on the situation.
I recently updated to Codesys 3.15 SP19 Patch 6. And now Iβm trying to setup the OPC-UA server, besides that Iβm trying to connect to the controller with the Codesys V3 (Ethernet) protocol.
OPC-UA
I have installed the correct licenses on my controller (Runtime and communication). Iβm able to connect to the controller with an OPC-UA client, and Iβm able to browse the tags, so far so good. Therefore Iβm assuming that the OPC-UA server is running on the controller. But now the strange part, in the device security settings I have set the communication Policy to BASCI256SHA256 ( I also have tried the other ones) and the communication mode is set to secure if possible (I also have tried all the other ones) (see picture). With these settings I would assume that I would only be able to login with a Basic256SHA256 policy with a client. But the opposite is true, I am able to login using the no policy mode and when I set it to Basic256SHA256 the client (UA-Expert) notes that this policy is not available on the server. I then check the certificates and I noted that there is no certificate for the OPC-UA server, I tried to generate one but it gave the error that the certificate has not been created by the device (See picture).
To summarize I have no clue what is going on, and the controller does the opposite of what I would expect.
Codesys Ethernet V3 driver
I have a HMI connected to the same controller using the Ethernet V3 driver. But this will not connect. I tried all the Protocols (see picture), with and without the username and password enabled. But it will not connect, when I scan the available servers I can see the controller with the port number that I am expecting, so Iβm assuming that the Codesys V3 ethernet driver is up on the controller.
Does anyone can give me some direction, because the stuff that I tried doesnβt make sense to me.
Thank you in advance
Last edit: alexgooi 2024-04-02
check this if it helps : https://youtu.be/Hdpbsp2jG3Q?si=NTwK13c_YOSZXM3v