<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Ethernet.lib</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/3c93eaf2a6/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/3c93eaf2a6/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/3c93eaf2a6/</id><updated>2020-02-27T23:05:54.752000Z</updated><subtitle>Recent posts to Ethernet.lib</subtitle><entry><title>Ethernet.lib</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/3c93eaf2a6/?limit=25#42e5" rel="alternate"/><published>2020-02-27T23:05:54.752000Z</published><updated>2020-02-27T23:05:54.752000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comd3b68b88848259a0fe5c8f370e72ba7cebf55dae</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; Nicolai_Hanssing&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Geoff White hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
I must be stupid.&lt;br/&gt;
The functionality I am looking for is exactly what the network global variables do.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Do note, that you can use UDP broadcast, wich is server to multiple-clients. This however can load a large network with a lot of broadcast traffic, as it is transmitted on all segments of a layer-two ethernet network.&lt;/p&gt;
&lt;p&gt;If broadcast is not wanted, you can use direct udp between two PLC.&lt;/p&gt;
&lt;p&gt;This is of course needed if the PLC's are not on the same layer-2 segment.&lt;/p&gt;
&lt;p&gt;Regards &lt;/p&gt;
&lt;p&gt;Nicolai Hanssing&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ethernet.lib</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/3c93eaf2a6/?limit=25#a03a" rel="alternate"/><published>2020-02-27T23:05:53.118000Z</published><updated>2020-02-27T23:05:53.118000Z</updated><author><name>Geoff White</name><uri>https://forge.codesys.com/u/geoff-white/</uri></author><id>https://forge.codesys.com56a6fa3a9baff0439802f4005cffb109745855b6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I must be stupid.&lt;/p&gt;
&lt;p&gt;The functionality I am looking for is exactly what the network global variables do.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ethernet.lib</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/3c93eaf2a6/?limit=25#db42" rel="alternate"/><published>2020-02-27T23:05:48.573000Z</published><updated>2020-02-27T23:05:48.573000Z</updated><author><name>B.Roth</name><uri>https://forge.codesys.com/u/b-roth/</uri></author><id>https://forge.codesys.com935199c3587780b6ca570f2bb93a49f8ed706a14</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;you need a modbusTCP-client library based on Syslibsockets.lib.&lt;/p&gt;
&lt;p&gt;Ask moeller if they deliver this with their targets.&lt;/p&gt;
&lt;p&gt;You could also buy one from 3S or somebody here in the forum will send you this lib is maybe in some other targets (WAGO?)  &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ethernet.lib</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/3c93eaf2a6/?limit=25#944a" rel="alternate"/><published>2020-02-27T23:05:46.948000Z</published><updated>2020-02-27T23:05:46.948000Z</updated><author><name>ndzied1</name><uri>https://forge.codesys.com/u/ndzied1/</uri></author><id>https://forge.codesys.comec812459322900b96499207dea9df257c271e2f9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Geoff,&lt;/p&gt;
&lt;p&gt;I would think that most ethernet libraries are specific to hardware.&lt;/p&gt;
&lt;p&gt;Ethernet communications generally require a connection between the two devices be established.  I was thinking you might be able to use Modbus/TCP to do this but couldn't be a broadcast.  It could, however, be set up as a loop and all that would have to change with each loop would be the IP address of the slave station.&lt;/p&gt;
&lt;p&gt;The modbus libraries are explained in Moeller Applicaiton note AN27K22 which can be found at  w &lt;a class="" href="http://www.moeller.net" rel="nofollow"&gt;www.moeller.net&lt;/a&gt; w .&lt;/p&gt;
&lt;p&gt;I have set up an XC201 as a Modbus TCP slave connected to an HMI that was the Modbus master but never set up a Modbus Master on the PLC.&lt;/p&gt;
&lt;p&gt;Hope this helps&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ethernet.lib</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/3c93eaf2a6/?limit=25#830c" rel="alternate"/><published>2020-02-27T23:05:42.432000Z</published><updated>2020-02-27T23:05:42.432000Z</updated><author><name>Geoff White</name><uri>https://forge.codesys.com/u/geoff-white/</uri></author><id>https://forge.codesys.com1adcf800893ba68b08ee0f36af17513cc7637c72</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am trying to make broadcast network server for sharing 'global' data among a number of PLCs.&lt;/p&gt;
&lt;p&gt;I had a search of the forum and found the WagoEthernetServer example and it looks like an ideal starting point.  Unfortunately I can not find a copy of the Ethernet.lib library that it uses.&lt;/p&gt;
&lt;p&gt;I am using Moeller PLCs.  Is this library limited to the Wago PLCs?  If not, where can I get it?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>