<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Getting the gatewayPath in codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8a76c30ec0/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8a76c30ec0/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/8a76c30ec0/</id><updated>2020-02-27T14:51:54.491000Z</updated><subtitle>Recent posts to Getting the gatewayPath in codesys</subtitle><entry><title>Getting the gatewayPath in codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8a76c30ec0/?limit=25#63a1" rel="alternate"/><published>2020-02-27T14:51:54.491000Z</published><updated>2020-02-27T14:51:54.491000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comfce9a98f03e7864fa2225f7c6caae02c02a0bbb5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; M.Schaber&lt;/p&gt;
&lt;p&gt;Hi, Mangesh,&lt;/p&gt;
&lt;p&gt;The Guid is valid for the same installation of codesys, but it will be a different one on a different machine.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Getting the gatewayPath in codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8a76c30ec0/?limit=25#6fdb" rel="alternate"/><published>2020-02-27T14:51:53.945000Z</published><updated>2020-02-27T14:51:53.945000Z</updated><author><name>morem</name><uri>https://forge.codesys.com/u/morem/</uri></author><id>https://forge.codesys.com352e7711cfe7831affc31d3c650cac6262a871fa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;Printed the value manually once and used the same guid for setting the Gateway Path.&lt;/p&gt;
&lt;p&gt;This worked &lt;/p&gt;
&lt;p&gt;Regards,&lt;br/&gt;
Mangesh&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Getting the gatewayPath in codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8a76c30ec0/?limit=25#d18e" rel="alternate"/><published>2020-02-27T14:51:52.374000Z</published><updated>2020-02-27T14:51:52.374000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com0e4f59505410362420b0106de670a8ed1c10c543</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; M.Schaber&lt;/p&gt;
&lt;p&gt;Just another note: Our issue database has the improvement &lt;a class="" href="http://jira.3s-software.com/browse/CDS-24285" rel="nofollow"&gt;CDS-24285&lt;/a&gt; to enable configuration of gateways by name, gateway management, and to start network scans. However, this issue is not yet scheduled for implementation. If you work for a CODESYS OEM, you can contact our support department so they register your companys name with that issue, that will raise the priority. (If you don't work for an CODESYS OEM, but you bought some hardware which ships with codesys, you can ask your hardware vendor to register their name with CDS-24285.)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Getting the gatewayPath in codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8a76c30ec0/?limit=25#aa2e" rel="alternate"/><published>2020-02-27T14:51:51.823000Z</published><updated>2020-02-27T14:51:51.823000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com655fa929ea238b89c196ab0fff721a30bdc0477a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; M.Schaber&lt;/p&gt;
&lt;p&gt;Hi, Magesh,&lt;/p&gt;
&lt;p&gt;Just configure it manually once, and print out the value. Then use the printed value within your script to configure the other projects non-interactively.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Getting the gatewayPath in codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8a76c30ec0/?limit=25#4ff3" rel="alternate"/><published>2020-02-27T14:51:51.285000Z</published><updated>2020-02-27T14:51:51.285000Z</updated><author><name>morem</name><uri>https://forge.codesys.com/u/morem/</uri></author><id>https://forge.codesys.com83e2780312c1df78fbc4680b68833547ef495065</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;We want to automate a following scenario and we have script to perform following operations&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create an empty project using Python script.&lt;/li&gt;
&lt;li&gt;Import a PLCOpenxml file for the project with device information.&lt;/li&gt;
&lt;li&gt;Now I want to go online by setting the gateway path programmatically.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Is it possible without any manual intervention? I will not like to set the Gateway path manually.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br/&gt;
Mangesh&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Getting the gatewayPath in codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8a76c30ec0/?limit=25#61bf" rel="alternate"/><published>2020-02-27T14:51:49.728000Z</published><updated>2020-02-27T14:51:49.728000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comaa09fe47614e52c28063d49de6402796fd4c437a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; M.Schaber&lt;/p&gt;
&lt;p&gt;The empty guid "00000000-0000-0000-0000-000000000000" is set when no gateway is configured for the device yet.&lt;/p&gt;
&lt;p&gt;If you manually configure the gateway and network path to the device once (so you can login to the PLC), the gateway guid will be set, and you can print it using your script.&lt;/p&gt;
&lt;p&gt;Then you can set it in other projects.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Getting the gatewayPath in codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8a76c30ec0/?limit=25#4c6f" rel="alternate"/><published>2020-02-27T14:51:49.189000Z</published><updated>2020-02-27T14:51:49.189000Z</updated><author><name>morem</name><uri>https://forge.codesys.com/u/morem/</uri></author><id>https://forge.codesys.com1799781804fbe850f3fb8f3d28d0c9d813b1457d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am trying to set the gateway path and device address using Python script.&lt;/p&gt;
&lt;p&gt;To set the gateway path I should first have the GUID of the Gateway.&lt;/p&gt;
&lt;p&gt;I tried to get the guid using following code.&lt;/p&gt;
&lt;p&gt;for dev in proj.get_children():&lt;br/&gt;
   if dev.is_device:&lt;br/&gt;
       tmpDevice = dev.get_device_identification()    &lt;br/&gt;
       strGateWay = dev.get_gateway()&lt;br/&gt;
       print strGateWay&lt;/p&gt;
&lt;p&gt;However, I am getting GUID value as &lt;br/&gt;
00000000-0000-0000-0000-000000000000.&lt;/p&gt;
&lt;p&gt;Could you please help me in getting the proper GUID value for gateway.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br/&gt;
Mangesh&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>