<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Ethernet communication between 2 PC with CoDeSys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/25c9e7fd47/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/25c9e7fd47/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/25c9e7fd47/</id><updated>2020-02-27T13:59:41.528000Z</updated><subtitle>Recent posts to Ethernet communication between 2 PC with CoDeSys</subtitle><entry><title>Ethernet communication between 2 PC with CoDeSys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/25c9e7fd47/?limit=25#39bf" rel="alternate"/><published>2020-02-27T13:59:41.528000Z</published><updated>2020-02-27T13:59:41.528000Z</updated><author><name>jzhvymetal</name><uri>https://forge.codesys.com/u/jzhvymetal/</uri></author><id>https://forge.codesys.com02ff528f2fd61e7e4ffb8f6cf1dd392e75bf5cac</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I would recommend using the OsCat Network Library it has been tested and validated. It also has a built in NET Var module or Modbus TCP Slave/Master.&lt;/p&gt;
&lt;p&gt;You have to be signed in to download. This has been updated for CoDeSys V3.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://www.oscat.de/community/index.php/topic,1784.0.html" rel="nofollow"&gt;http://www.oscat.de/community/index.php ... 784.0.html&lt;/a&gt; m &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ethernet communication between 2 PC with CoDeSys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/25c9e7fd47/?limit=25#22b1" rel="alternate"/><published>2020-02-27T13:59:41.227000Z</published><updated>2020-02-27T13:59:41.227000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comc1bd1b009b9418fa8c80197f6edb90b419616b95</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; Matthias S.&lt;/p&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I would also prefer network variable. This is the easiest way.&lt;br/&gt;
As an alternative to the "raw" sockets, I can also recommend the CoDeSys CAA_NetBasedServices.lib in V3.&lt;br/&gt;
This lib encapsulat the socket interface. I used the TCP Server and Client Blocks in a project without problems.&lt;/p&gt;
&lt;p&gt;By the way: what specific problems do you have?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br/&gt;
Matthias&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ethernet communication between 2 PC with CoDeSys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/25c9e7fd47/?limit=25#644d" rel="alternate"/><published>2020-02-27T13:59:40.922000Z</published><updated>2020-02-27T13:59:40.922000Z</updated><author><name>timvh</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.com7b660bdc225f3bc1d3eaaa2ed4d6165642233259</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It is much easier to use Network Variables. For this you don't have to program anything (just configuring).&lt;br/&gt;
In the menu Tools-Options-Features, enable Network Variables.&lt;/p&gt;
&lt;p&gt;Add a Global Variable list to your application and set in the properties that the variables should be sent over the network.&lt;br/&gt;
In the application of the other device, add a Network Variable List and link this to the GVL of the other application.&lt;/p&gt;
&lt;p&gt;Now the application will automatically send the values of the variables from one PC to the other.&lt;/p&gt;
&lt;p&gt;It is most easy to have both applications for both devices in one project.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ethernet communication between 2 PC with CoDeSys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/25c9e7fd47/?limit=25#6663" rel="alternate"/><published>2020-02-27T13:59:40.616000Z</published><updated>2020-02-27T13:59:40.616000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comad387c42ecc85f6f07e7e1f15f835251f9f7dea7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; w71400&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I must establish a connection between two PCs via Ethernet.&lt;br/&gt;
I make my program using mainly SysSocket.lib, but it is at the configuration of the communication I have a problem ..&lt;br/&gt;
If anyone can help me ..&lt;br/&gt;
thanks in advance&lt;/p&gt;
&lt;p&gt;William&lt;br/&gt;
Gauthey Automation France&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>