<?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 connection to TOP OPC UA- Server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fc56a72ebc/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fc56a72ebc/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/fc56a72ebc/</id><updated>2021-03-22T20:33:32.997000Z</updated><subtitle>Recent posts to Codesys Soft PLC connection to TOP OPC UA- Server</subtitle><entry><title>Codesys Soft PLC connection to TOP OPC UA- Server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fc56a72ebc/?limit=25#c62d" rel="alternate"/><published>2021-03-22T20:33:32.997000Z</published><updated>2021-03-22T20:33:32.997000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.com4a81e0ef795d2b9a67583f11f28d19d2c85807aa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi uemit. You seem to be muddling your clients /servers and modbus/opc ua&lt;/p&gt;
&lt;p&gt;So. Do you mean the TOP-Server OPC UA Client? Because the symbol configuration you have made is intended for using the PLC as an OPC UA Server. &lt;/p&gt;
&lt;p&gt;My feeling is.. you do not need modbus in your project at all.&lt;/p&gt;
&lt;p&gt;For configuring the TOP-server OPC UA Client, start at page 15 of this document. &lt;a href="https://support.softwaretoolbox.com/app/answers/detail/a_id/2450" rel="nofollow"&gt;https://support.softwaretoolbox.com/app/answers/detail/a_id/2450&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For configuring codesys soft PLC as an OPC UA Server, i think you have already done this. Just delete the modbus device entirely from your project.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Soft PLC connection to TOP OPC UA- Server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fc56a72ebc/?limit=25#be39/504b" rel="alternate"/><published>2021-03-22T16:07:49.372000Z</published><updated>2021-03-22T16:07:49.372000Z</updated><author><name>uemit</name><uri>https://forge.codesys.com/u/uemit/</uri></author><id>https://forge.codesys.come8ebae45e247016e82f6bc430eada96460398299</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;So currently the green circle appears left to the Modbus_TCP_Slave. But it turns into a red tri- angle after a while. When I do a rightklick on the Slave and choose diagnosis then it works for about 2 minutes until the red tri- angle appears again.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Soft PLC connection to TOP OPC UA- Server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fc56a72ebc/?limit=25#be39/ee2a" rel="alternate"/><published>2021-03-22T15:07:06.115000Z</published><updated>2021-03-22T15:07:06.115000Z</updated><author><name>uemit</name><uri>https://forge.codesys.com/u/uemit/</uri></author><id>https://forge.codesys.com1a42efe24726806108bc07ca8b3364ce8a2a01e4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you very much for the answer today. After today I know that I always have to connect the slave device to a master device. And thank&lt;code&gt;s a lot for the information about the Unit- ID. That was certainly important. I also found a list on wikipedia regarding the standard ports for the different protocols. You can see the link in the following. Without a master it&lt;/code&gt;s not possible to specify the port or Unit-ID and other relevant aspects of the slave device. &lt;/p&gt;
&lt;p&gt;&lt;a href="https://de.wikipedia.org/wiki/Liste_der_standardisierten_Ports" rel="nofollow"&gt;https://de.wikipedia.org/wiki/Liste_der_standardisierten_Ports&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Greetings &lt;/p&gt;
&lt;p&gt;Uemit&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Soft PLC connection to TOP OPC UA- Server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fc56a72ebc/?limit=25#be39/15da" rel="alternate"/><published>2021-03-22T10:42:03.614000Z</published><updated>2021-03-22T10:42:03.614000Z</updated><author><name>uemit</name><uri>https://forge.codesys.com/u/uemit/</uri></author><id>https://forge.codesys.comf28746ee5528b9084d383cbd331531020776e405</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you for your answer. I watched a video where someone was able to connect the Soft PLC to the TOP OPC UA Server without a master. I will send the link in the following. But I will try to implement your advice. Because when I don&lt;code&gt;t use a master I&lt;/code&gt;m not able to give a Unit-ID to the slave device and also not an IP Adress. &lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=cOr08a8JuMY&amp;amp;t=18s" rel="nofollow"&gt;https://www.youtube.com/watch?v=cOr08a8JuMY&amp;amp;t=18s&lt;/a&gt; &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Soft PLC connection to TOP OPC UA- Server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fc56a72ebc/?limit=25#be39" rel="alternate"/><published>2021-03-22T10:01:36.569000Z</published><updated>2021-03-22T10:01:36.569000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.com58ac05e7902441447efa7b5974554aed8637b0ee</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Here is the list of all the status icons. &lt;a href="https://help.codesys.com/webapp/_cds_device_tree_device_editor;product=codesys;version=3.5.16.0" rel="nofollow"&gt;https://help.codesys.com/webapp/_cds_device_tree_device_editor;product=codesys;version=3.5.16.0&lt;/a&gt;&lt;br/&gt;
In your case I see it is an orange triangle and not a red triangle.&lt;br/&gt;
This happens when your modbus slave (CODESYS PLC) is configured correctly, but no Modbus Master has opened a connection to your slave.&lt;br/&gt;
To get him to the two-green-arrows-arranged-in-a-circle status, you will need to connect your master.&lt;/p&gt;
&lt;p&gt;TIP: The modbus spec says you should use Unit-ID 0xFF for a Modbus TCP slave.  0x00 (broadcast address) also works.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Soft PLC connection to TOP OPC UA- Server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fc56a72ebc/?limit=25#15d2" rel="alternate"/><published>2021-03-22T09:37:44.338000Z</published><updated>2021-03-22T09:37:44.338000Z</updated><author><name>uemit</name><uri>https://forge.codesys.com/u/uemit/</uri></author><id>https://forge.codesys.comf69eb76e7d87ffa6c021ddf128eaafb408d3cd89</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello together, &lt;/p&gt;
&lt;p&gt;I&lt;code&gt;m currently working on a Project in Codesys using the integrated Soft PLC. I want to connect the Soft PLC to the TOP OPC UA- Server. The variables that I used in the Codesys program are already visible in the "Adress Space" in the UA Expert- Client that I use. And when I change the value of a variable in the UA Expert- Client then this change is also visible in the Codesys programm and vice-versa. When I click on "Log in" and then "Run" in Codesys, the "Modbus_TCP Slave Device" on the left side in Codesys is marked with a red tri- angle and not a green circle. What does this red tri- angle mean? I believe, it has to do something with the configurations of the "Modbus_TCP Slave Device". I tried to do diffenrent configurations with the Slave- Device, but the result is always the same. The red tri- angle doesn&lt;/code&gt;t go away. In the following you will see some screen- shots. &lt;/p&gt;
&lt;p&gt;Greetings and thank you for your time&lt;/p&gt;
&lt;p&gt;Uemit&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>