<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Ethernet interface/Profinet master</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9dcd91c8e6/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9dcd91c8e6/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/9dcd91c8e6/</id><updated>2020-02-27T14:46:44.865000Z</updated><subtitle>Recent posts to Ethernet interface/Profinet master</subtitle><entry><title>Ethernet interface/Profinet master</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9dcd91c8e6/?limit=25#842b" rel="alternate"/><published>2020-02-27T14:46:44.865000Z</published><updated>2020-02-27T14:46:44.865000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com1eadf8aeea11443a079e75dc41ab4b26f921dccb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; Steffen_R.&lt;/p&gt;
&lt;p&gt;Hi Martin,&lt;br/&gt;
it works that way.&lt;/p&gt;
&lt;p&gt;Thank you very much&lt;/p&gt;
&lt;p&gt;Steffen_R.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ethernet interface/Profinet master</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9dcd91c8e6/?limit=25#65a6" rel="alternate"/><published>2020-02-27T14:46:44.306000Z</published><updated>2020-02-27T14:46:44.306000Z</updated><author><name>mkeller</name><uri>https://forge.codesys.com/u/mkeller/</uri></author><id>https://forge.codesys.com3233112dbdab27d0550b815208d53aa547d9bcd5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Steffen_R.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Steffen_R. hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hi,&lt;br/&gt;
i add a plc via script to an empty project. Then i want to add an Ethernet Interface as a profinet master. The problem is to Change/configure the inteface (eth0, eth1) by script.&lt;br/&gt;
Can somebody give me a simple code snippet to configure that Interface.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a class="" href="http://forum.codesys.com/viewtopic.php?f=18&amp;amp;t=7552&amp;amp;p=17088&amp;amp;lan=en" rel="nofollow"&gt;previous post&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Steffen_R. hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
My second problem is the device id of the profinet slaves. The id's are like: 0x002A_0x0301_DIM 19. (Siemens IM151-3 PN ST V7.0). That id throws exceptions.....&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;In the attached python script the code prints all device descriptions with have the type 81 and add a ProfiNet slave device from the imported device description.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Martin&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=2546" rel="nofollow"&gt;device_repo_find_deviceId_add_device.py &lt;span&gt;&lt;span&gt;[1.79 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ethernet interface/Profinet master</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9dcd91c8e6/?limit=25#1ce0" rel="alternate"/><published>2020-02-27T14:46:42.722000Z</published><updated>2020-02-27T14:46:42.722000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comfa14a8dfbaecf3600f42781c41008d16b59054d8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; Steffen_R.&lt;/p&gt;
&lt;p&gt;Hi,&lt;br/&gt;
i add a plc via script to an empty project. Then i want to add an Ethernet Interface as a profinet master. The problem is to Change/configure the inteface (eth0, eth1) by script.&lt;br/&gt;
Can somebody give me a simple code snippet to configure that Interface. &lt;/p&gt;
&lt;p&gt;My second problem is the device id of the profinet slaves. The id's are like: 0x002A_0x0301_DIM 19. (Siemens IM151-3 PN ST V7.0). That id throws exceptions.....&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>