<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Ping Netzwerkadressen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/703082d875/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/703082d875/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/703082d875/</id><updated>2020-02-27T23:40:08.612000Z</updated><subtitle>Recent posts to Ping Netzwerkadressen</subtitle><entry><title>Ping Netzwerkadressen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/703082d875/?limit=25#138a" rel="alternate"/><published>2020-02-27T23:40:08.612000Z</published><updated>2020-02-27T23:40:08.612000Z</updated><author><name>Nandi0710</name><uri>https://forge.codesys.com/u/nandi0710/</uri></author><id>https://forge.codesys.comf19854de84473e0bdd52595968b1e8222cfdec63</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo Chris87, Hallo plcmax,&lt;/p&gt;
&lt;p&gt;seit ihr hier schon auf eine Lösung gekommen? Ich hätte das gleiche Problem wie Chris87 das ich mehrere Geräte im 5min. Takt anpingen möchte und hier dann einen False oder True wert erhalten will.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ping Netzwerkadressen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/703082d875/?limit=25#3c3e" rel="alternate"/><published>2020-02-27T23:40:06.926000Z</published><updated>2020-02-27T23:40:06.926000Z</updated><author><name>plcmax</name><uri>https://forge.codesys.com/u/plcmax/</uri></author><id>https://forge.codesys.com099ed3fd55867f2f49834565bd3a6555c3bae534</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo,&lt;/p&gt;
&lt;p&gt;ich würde es so machen:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;IF&lt;/span&gt; &lt;span class="nv"&gt;xPing&lt;/span&gt; &lt;span class="k"&gt;THEN&lt;/span&gt;
   &lt;span class="nb"&gt;Result&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;SysSockPing&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;szIPAddress&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'&lt;/span&gt;&lt;span class="s"&gt;192.168.188.1&lt;/span&gt;&lt;span class="s1"&gt;'&lt;/span&gt;, &lt;span class="nv"&gt;ulTimeout&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;500&lt;/span&gt;, &lt;span class="nv"&gt;pulReplyTime&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;ADR&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;PingTime&lt;/span&gt;&lt;span class="ss"&gt;))&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
   &lt;span class="k"&gt;IF&lt;/span&gt; &lt;span class="nv"&gt;PingTime&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="k"&gt;THEN&lt;/span&gt;
      &lt;span class="nv"&gt;iPingCount&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;iPingCount&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
      &lt;span class="k"&gt;IF&lt;/span&gt; &lt;span class="nv"&gt;iPingCount&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;50&lt;/span&gt; &lt;span class="k"&gt;THEN&lt;/span&gt;
         &lt;span class="nv"&gt;iPingCount&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
         &lt;span class="nv"&gt;xDeviceavailable&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;true&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
      &lt;span class="nv"&gt;END_IF&lt;/span&gt;
   &lt;span class="nv"&gt;END_IF&lt;/span&gt;
&lt;span class="nv"&gt;END_IF&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;das pingen eventuell in einer eigenen Task aufrufen...!&lt;/p&gt;
&lt;p&gt;Viele Grüße&lt;br/&gt;
plcmax&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ping Netzwerkadressen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/703082d875/?limit=25#6479" rel="alternate"/><published>2020-02-27T23:40:02.326000Z</published><updated>2020-02-27T23:40:02.326000Z</updated><author><name>Chris87</name><uri>https://forge.codesys.com/u/chris87/</uri></author><id>https://forge.codesys.comd51b869607602764c38dcbc61c8154c43a3ffba9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo Comunity,&lt;/p&gt;
&lt;p&gt;ich versuche seit einer weile über SysSockPing eine IP adresse im Hiemnetzwerk anzupingen, leider mag das bis jetzt nicht wirklich. Im Netzt habe ich zwar schon ein paar Anhaltspunkte gefunden, aber nichts in Codesys V3.&lt;br/&gt;
Im Endefekt will ich am Schluss nur ein True oder Fals haben wenn die Adesse erreicbar ist.&lt;/p&gt;
&lt;p&gt;Hoffe hier kann mir jmd helfen.&lt;br/&gt;
Danke schonmal.&lt;/p&gt;
&lt;p&gt;MfG Chris&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Ping.png" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=1618"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>