<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Codesys Soft PLC OPC UA server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/348f120fb4/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/348f120fb4/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/348f120fb4/</id><updated>2025-09-11T12:41:39.575000Z</updated><subtitle>Recent posts to Codesys Soft PLC OPC UA server</subtitle><entry><title>Codesys Soft PLC OPC UA server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/348f120fb4/?limit=25#e601" rel="alternate"/><published>2025-09-11T12:41:39.575000Z</published><updated>2025-09-11T12:41:39.575000Z</updated><author><name>rickwot809</name><uri>https://forge.codesys.com/u/rickwot809/</uri></author><id>https://forge.codesys.com7990cf18b527321c1fdc00036ac9b9449bad908e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Enabling Anonymous Login&lt;br/&gt;
1. Navigate to 'Device' &amp;gt; 'Communication Settings' &amp;gt; 'Device'.&lt;br/&gt;
2. Next, click on 'Change Runtime Security Policy'.&lt;br/&gt;
3. In the new window, find and check the box for 'Allow anonymous login'.&lt;/p&gt;
&lt;p&gt;After completing these steps, you should be able to communicate with the OPC UA server.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Soft PLC OPC UA server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/348f120fb4/?limit=25#67e1/b554" rel="alternate"/><published>2024-08-30T13:37:18.899000Z</published><updated>2024-08-30T13:37:18.899000Z</updated><author><name>elayaraj</name><uri>https://forge.codesys.com/u/elayaraj/</uri></author><id>https://forge.codesys.com57f413e29ac1d9093327710d2cd1ff4707901d53</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You may refer to this below video link to get some idea.. hopefully it works&lt;br/&gt;
&lt;a href="https://www.youtube.com/watch?v=RBMff-IlPA4" rel="nofollow"&gt;https://www.youtube.com/watch?v=RBMff-IlPA4&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Soft PLC OPC UA server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/348f120fb4/?limit=25#a8f0" rel="alternate"/><published>2024-08-22T14:59:00.861000Z</published><updated>2024-08-22T14:59:00.861000Z</updated><author><name>elayaraj</name><uri>https://forge.codesys.com/u/elayaraj/</uri></author><id>https://forge.codesys.com02e592a11e7adcee1be9b1caaae72d4a77792f79</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi guys,&lt;br/&gt;
I also facing the same issue on my project, trying to connect server (Codesys) to UA Expert but the connection keep failed(attached). Im running out of idea right now..please help! &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Soft PLC OPC UA server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/348f120fb4/?limit=25#67e1/f7d3" rel="alternate"/><published>2024-06-27T06:16:51.788000Z</published><updated>2024-06-27T06:16:51.788000Z</updated><author><name>mos89p</name><uri>https://forge.codesys.com/u/mos89p/</uri></author><id>https://forge.codesys.com55c97dc0295babbd41346629979e680a83a3810d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi did you check the log of OPCUA expert Client?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Soft PLC OPC UA server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/348f120fb4/?limit=25#a49a" rel="alternate"/><published>2024-06-26T18:26:41.105000Z</published><updated>2024-06-26T18:26:41.105000Z</updated><author><name>egau</name><uri>https://forge.codesys.com/u/egau/</uri></author><id>https://forge.codesys.com4ae662278afd40bb7555110d6acb62b94f4a98f4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey &lt;a class="user-mention" href="/u/ofey/"&gt;@ofey&lt;/a&gt;, any luck with that issue?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Soft PLC OPC UA server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/348f120fb4/?limit=25#3dfa" rel="alternate"/><published>2024-06-26T18:26:37.541000Z</published><updated>2024-06-26T18:26:37.541000Z</updated><author><name>egau</name><uri>https://forge.codesys.com/u/egau/</uri></author><id>https://forge.codesys.comff70541fee7ea6cf891bde2b6b566a05f7cf2343</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey &lt;a class="user-mention" href="/u/ofey/"&gt;@ofey&lt;/a&gt;, any luck with that issue?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Soft PLC OPC UA server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/348f120fb4/?limit=25#67e1" rel="alternate"/><published>2023-09-15T08:26:51.898000Z</published><updated>2023-09-15T08:26:51.898000Z</updated><author><name>ofey</name><uri>https://forge.codesys.com/u/ofey/</uri></author><id>https://forge.codesys.com4a31a90ff8618aded9556ea736c4f341f4986671</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I also get an error when I try to add a certificate for the OPC server (see attachment). I dont know if this is related to the bad connection.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Soft PLC OPC UA server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/348f120fb4/?limit=25#4c04" rel="alternate"/><published>2023-09-15T07:02:48.932000Z</published><updated>2023-09-15T07:02:48.932000Z</updated><author><name>ofey</name><uri>https://forge.codesys.com/u/ofey/</uri></author><id>https://forge.codesys.combd845af189b33f85058ca1effe077653dab77503</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you for your reply! Greatly appreciated.&lt;/p&gt;
&lt;p&gt;I have tried to change a lot of settings to get it to work. I'm a bit afraid that I have changed the settings too fast without thinking. Maybe there is a way to "reset the device" to factory or something?&lt;/p&gt;
&lt;p&gt;Anyway. I changed the security settings in accordance with your attachment. This is what is in the log after running (regarding the "CmpOPCUAServer").&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Soft PLC OPC UA server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/348f120fb4/?limit=25#3db3" rel="alternate"/><published>2023-09-14T22:07:32.188000Z</published><updated>2023-09-14T22:07:32.188000Z</updated><author><name>snhatton</name><uri>https://forge.codesys.com/u/snhatton/</uri></author><id>https://forge.codesys.com17dd483a0a64e02043da33816cf111b1b7bbf70f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You should also check the security settings as shown in the attachment. The reason there are two is because one resolves to the host name, and the other resolves to the host IP. Have you looked at the log? Are there any messages regarding the OPC-UA component? &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Soft PLC OPC UA server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/348f120fb4/?limit=25#6be7" rel="alternate"/><published>2023-09-14T09:13:36.109000Z</published><updated>2023-09-14T09:13:36.109000Z</updated><author><name>ofey</name><uri>https://forge.codesys.com/u/ofey/</uri></author><id>https://forge.codesys.com765fb1cbe6d67e3ce0d3946e95af4a7f25dadac3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi! I'm sorry if this has been asked before. I have tried looking up previous topics regaring this, but even though I'm following tutorials and other posts I cant seem to get this to work consistently. &lt;br/&gt;
I actually got the connection established on a test project after some trial and error. I only got it to work with the "Anonymous login". But after i deleted the test project and tried to get the same thing to work on another project I cant get it to work anymore.&lt;/p&gt;
&lt;p&gt;What I'm trying to do:&lt;br/&gt;
Set up and OPC UA Server using CODESYS with the free soft PLC. I then try to connect to the OPC UA Server with the program "UaExpert".&lt;/p&gt;
&lt;p&gt;What happens:&lt;br/&gt;
I get the error Error "'BadUserAccessDenied' was returned during ActivateSession".&lt;/p&gt;
&lt;p&gt;What I have done in CODESYS:&lt;br/&gt;
- Added the object "Symbol configuration" and checked some test variables&lt;br/&gt;
- Checked "Support OPC UA features&lt;br/&gt;
- In "Communication settings -&amp;gt; device -&amp;gt; Change runtime security policy" I have checked "Allow anonymous login"&lt;/p&gt;
&lt;p&gt;What I have done in UAExpert:&lt;br/&gt;
- Found the OPC UA server under "local". (It is showing two servers though, I do not know why. It showed the same when it worked yesterday). Se attachment&lt;br/&gt;
- Checked "Anonymous" under "Authentication settings in the OPC UA server.&lt;/p&gt;
&lt;p&gt;I'm new to CODESYS, so it could be something elementary wrong in my settings. Maybe something in the user settings in CODESYS regarding user rights or something? &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>