<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CoDeSys OPC server with SIMULATION3 interface</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f576036e1f/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f576036e1f/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/f576036e1f/</id><updated>2020-02-27T14:37:13.603000Z</updated><subtitle>Recent posts to CoDeSys OPC server with SIMULATION3 interface</subtitle><entry><title>CoDeSys OPC server with SIMULATION3 interface</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f576036e1f/?limit=25#7d00" rel="alternate"/><published>2020-02-27T14:37:13.603000Z</published><updated>2020-02-27T14:37:13.603000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com6fec7f489e41dfbb3736b67f10f385cdc48398ee</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Zitat:&lt;/strong&gt;&lt;br/&gt;
1. I do not understand what you mean by "real opc". Do mean use the physical hardware instead of simulation mode, because that is not feasible in my case, but perhaps you mean something else?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;yes I mean you have a real plc running which run on the same pc where you execute CODESYS... so you have everything what you need.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: OPCUA_ControlWin.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1654"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=1655" rel="nofollow"&gt;OPCUA.project &lt;span&gt;&lt;span&gt;[48.79 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CoDeSys OPC server with SIMULATION3 interface</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f576036e1f/?limit=25#e537" rel="alternate"/><published>2020-02-27T14:37:13.131000Z</published><updated>2020-02-27T14:37:13.131000Z</updated><author><name>drdolittle</name><uri>https://forge.codesys.com/u/drdolittle/</uri></author><id>https://forge.codesys.com868b55eb534659e32f1eaae7fcc5d713989c5ec1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Edwin Schwellinger hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hi,&lt;br/&gt;
1. why not using the real plc, which comes with CODESYS Installation&lt;br/&gt;
2. why not using OPCUA - less administration effort! - NO OPC Server needed everything is embedded in the PLC Runtime (Control Win or Control RTE)&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;You will have to bear with me if I this is a little over my head, I am a new user of CoDeSys.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;I do not understand what you mean by "real opc". Do mean use the physical hardware instead of simulation mode, because that is not feasible in my case, but perhaps you mean something else?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I am running Control Win so I do have the the OPC UA server as you said. I can press the button you point to but then what? Where can I see my tags (I have never used OPC UA.)&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</summary></entry><entry><title>CoDeSys OPC server with SIMULATION3 interface</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f576036e1f/?limit=25#3f9d" rel="alternate"/><published>2020-02-27T14:37:11.732000Z</published><updated>2020-02-27T14:37:11.732000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.come41da6554599753447e6cc91faec75a877c12f33</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
1. why not using the real plc, which comes with CODESYS Installation&lt;br/&gt;
2. why not using OPCUA - less administration effort! - NO OPC Server needed everything is embedded in the PLC Runtime (Control Win or Control RTE)&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: startplc.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1653"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CoDeSys OPC server with SIMULATION3 interface</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f576036e1f/?limit=25#5d1d" rel="alternate"/><published>2020-02-27T14:37:11.233000Z</published><updated>2020-02-27T14:37:11.233000Z</updated><author><name>drdolittle</name><uri>https://forge.codesys.com/u/drdolittle/</uri></author><id>https://forge.codesys.com85d97f23e12e00ee5f53019fee5204619d993808</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have a similiar issue using SIMULATION3. I am a new user to CoDeSys, running CODESYS Control Win V.3.5 SP8. &lt;/p&gt;
&lt;p&gt;I have read the OPC manual, and have added a symbol file and have selected my variables, and set up the OPC-server to load the xml symbol file using an absolute file name. Then I compile and run the program. &lt;/p&gt;
&lt;p&gt;I have tried both running the OPC server as a server and as just as a regular application, as specified in the manual. &lt;/p&gt;
&lt;p&gt;When I go into the Matrikon OPC explorer, I see the OPC server and I see the that PLC-name that I have given, but Matrikon is unable to find any tags. &lt;/p&gt;
&lt;p&gt;I have also tried as the OP said, to set the simulator as GATEWAY3 and specify both the local IP-address and the PLC name, but to no avail. &lt;br/&gt;
OPCServer.log then gives:&lt;br/&gt;
(22.02.2016, 10:16:13.371) &lt;span&gt;[PLC1_Test]&lt;/span&gt;: CPLCHandler: Reconnect&lt;span&gt;[7]&lt;/span&gt;: STATE_PLC_NOT_CONNECTED: tries to open channel...&lt;br/&gt;
(22.02.2016, 10:16:27.458) **** ERROR: &lt;span&gt;[PLC1_Test]&lt;/span&gt;: CPLCComBase3: &amp;lt;-Open() Could not resolve nodename &amp;lt;127.0.0.1&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: codesys opc problem screenshot.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1648"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CoDeSys OPC server with SIMULATION3 interface</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f576036e1f/?limit=25#a805" rel="alternate"/><published>2020-02-27T14:37:10.743000Z</published><updated>2020-02-27T14:37:10.743000Z</updated><author><name>zatalian</name><uri>https://forge.codesys.com/u/zatalian/</uri></author><id>https://forge.codesys.coma3b302a93fe4fc550cde6c8cf64b054599392af4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm trying to get the Codesys opc server to work together with a simulated codesys v3 program.&lt;br/&gt;
The OPC user guide suggests this should work, but i can't get it running.&lt;/p&gt;
&lt;p&gt;I have a simple project:&lt;br/&gt;
&lt;em&gt; 1 codesys control win v3 device&lt;br/&gt;
&lt;/em&gt; simple program with a few booleans / integers and a timer&lt;br/&gt;
&lt;em&gt; 1 global variable which increments every cycle (as suggested somewhere in the forums)&lt;br/&gt;
&lt;/em&gt; a symbol table&lt;/p&gt;
&lt;p&gt;when I run the code, and I configure the OPC server with a GATEWAY3 interface, and 127.0.0.1 as plc address, i can see my tags with Matrikon Explorer&lt;br/&gt;
when I simulate the code, and I configure the OPC server with a SIMULATION3 interface and project name pointing to the .xml document (incl. path), i can see the plc in Matrikon Explorer, but no application, program or tags appear.&lt;/p&gt;
&lt;p&gt;I guess i'm missing something?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>