<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Gateway device name issue</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1678565634/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1678565634/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/1678565634/</id><updated>2020-02-27T14:28:14.517000Z</updated><subtitle>Recent posts to Gateway device name issue</subtitle><entry><title>Gateway device name issue</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1678565634/?limit=25#d395" rel="alternate"/><published>2020-02-27T14:28:14.517000Z</published><updated>2020-02-27T14:28:14.517000Z</updated><author><name>williamc</name><uri>https://forge.codesys.com/u/williamc/</uri></author><id>https://forge.codesys.com6c376008789b0c6b0603279e4dc0ab7d5eede6a1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I have a problem steming from this post  l &lt;a class="" href="http://forum.codesys.com/viewtopic.php?f=11&amp;amp;t=5550" rel="nofollow"&gt;viewtopic.php?f=11&amp;amp;t=5550&lt;/a&gt; l &lt;/p&gt;
&lt;p&gt;I have developed automated script to open a project. Get the gateway and device address. Then set it before building project and going online. &lt;/p&gt;
&lt;p&gt;The problem is from time to time the Device Address changes so then my script states cannot log in.&lt;/p&gt;
&lt;p&gt;Sometimes it has routing information, sometimes it has no routing information, sometimes it has loads of information.&lt;/p&gt;
&lt;p&gt;I'm using script similar to this:&lt;br/&gt;
          treeobj.set_gateway_and_address(treeobj.get_gateway(),"009A.A0DE")&lt;/p&gt;
&lt;p&gt;Is there any other method through scripting to set the device. Or even script to get back all the scanned devices so that I can select the one that is mine. Or any method yet of setting device by IP.&lt;/p&gt;
&lt;p&gt;Need to fix this urgently so any help much appreciated.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>