<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Exchanging Data between CoDeSys Control Win and C++ Apps.</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/19a6031d80/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/19a6031d80/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/19a6031d80/</id><updated>2020-02-27T15:18:52.401000Z</updated><subtitle>Recent posts to Exchanging Data between CoDeSys Control Win and C++ Apps.</subtitle><entry><title>Exchanging Data between CoDeSys Control Win and C++ Apps.</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/19a6031d80/?limit=25#313f" rel="alternate"/><published>2020-02-27T15:18:52.401000Z</published><updated>2020-02-27T15:18:52.401000Z</updated><author><name>tombuil</name><uri>https://forge.codesys.com/u/tombuil/</uri></author><id>https://forge.codesys.comd8c538467a3a6429f118b36a6fe1695c95b26e3e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Try network variable lists.&lt;br/&gt;
I have used this to interface with labview.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Exchanging Data between CoDeSys Control Win and C++ Apps.</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/19a6031d80/?limit=25#dd9f" rel="alternate"/><published>2020-02-27T15:18:50.387000Z</published><updated>2020-02-27T15:18:50.387000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com425e995b9d96894a18a151b705c85df8a1597530</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would recommend to use OPCUA,&lt;br/&gt;
there is a OPCUA Server in Control RTE / COntrol Win - embedded.&lt;br/&gt;
You need to implement an OPCUA Client (which I guess you'll find some examples, code snippets for c++ or any other languages)&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Exchanging Data between CoDeSys Control Win and C++ Apps.</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/19a6031d80/?limit=25#6166" rel="alternate"/><published>2020-02-27T15:18:49.708000Z</published><updated>2020-02-27T15:18:49.708000Z</updated><author><name>lnsundh</name><uri>https://forge.codesys.com/u/lnsundh/</uri></author><id>https://forge.codesys.comab0024460eb140bd6da7801f0eb2a3abb99250b0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am trying to achive a similar thing with a c++-application on the same machine as Codesys. I tried to find UDP examples for recieving data from en external source into Codesys but with no luck. PJE, do you have any example code?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Exchanging Data between CoDeSys Control Win and C++ Apps.</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/19a6031d80/?limit=25#ba7e" rel="alternate"/><published>2020-02-27T15:18:47.872000Z</published><updated>2020-02-27T15:18:47.872000Z</updated><author><name>PJE</name><uri>https://forge.codesys.com/u/pje/</uri></author><id>https://forge.codesys.comdd89cca8556afa9a7c1c221b43c26a5268888617</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;For transferring data I'd use UDP if it's on the same machine, or if packet loss could be handled. TCP would be overkill talking on the same machine as the chance of packet loss would be low.&lt;/p&gt;
&lt;p&gt;I've used UDP between CODESYS controllers with a single system in an industrial environment for a while without issue, and also between a CODESYS drive and a PC running a VB app.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Exchanging Data between CoDeSys Control Win and C++ Apps.</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/19a6031d80/?limit=25#7e31" rel="alternate"/><published>2020-02-27T15:18:47.231000Z</published><updated>2020-02-27T15:18:47.231000Z</updated><author><name>adam.lin</name><uri>https://forge.codesys.com/u/adam-lin/</uri></author><id>https://forge.codesys.com4128b1581a0a01cf1ab2733c6d5dee4e8c11cfd8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I think , you can use ModbusTCP client/server to do data exchange between CODESYS and VC program.&lt;/p&gt;
&lt;p&gt;Sent from my iPad using Tapatalk&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Exchanging Data between CoDeSys Control Win and C++ Apps.</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/19a6031d80/?limit=25#664e" rel="alternate"/><published>2020-02-27T15:18:46.591000Z</published><updated>2020-02-27T15:18:46.591000Z</updated><author><name>lmendez</name><uri>https://forge.codesys.com/u/lmendez/</uri></author><id>https://forge.codesys.com793a16f5dea040ae826231abf5eede643f872f36</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am able to call and execute a C++ program through a CoDeSys Control Win application, both running in the same computer system. &lt;/p&gt;
&lt;p&gt;Is there a recommended method to allow these two programs to exchange data? &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>