<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to ETCMasterStack DynamicConfig</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/79fca8fa9d/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/79fca8fa9d/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/79fca8fa9d/</id><updated>2022-08-18T08:26:11.263000Z</updated><subtitle>Recent posts to ETCMasterStack DynamicConfig</subtitle><entry><title>ETCMasterStack DynamicConfig</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/79fca8fa9d/?limit=25#d6e7" rel="alternate"/><published>2022-08-18T08:26:11.263000Z</published><updated>2022-08-18T08:26:11.263000Z</updated><author><name>stephan89</name><uri>https://forge.codesys.com/u/stephan89/</uri></author><id>https://forge.codesys.com24c2288dd16197ec92afee06a041b08683a89187</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I try to run an EtherCAT-Bus without configuring the Slaves in the device tree. This is described on the following page of the CODESYS Online Help: &lt;a href="https://help.codesys.com/webapp/C4D5b3NXlIZndtqdRGsMJRgeHFw%2Ffld-DynamicConfig;product=EtherCATStack;version=3.5.17.0." rel="nofollow"&gt;https://help.codesys.com/webapp/C4D5b3NXlIZndtqdRGsMJRgeHFw%2Ffld-DynamicConfig;product=EtherCATStack;version=3.5.17.0.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The bus starts up successful and everything seems to work corrent. The problem is that in the ETCSlave instances generated by:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="err"&gt;{implicit on}&lt;/span&gt;
&lt;span class="err"&gt;// important: initialize the fb instances&lt;/span&gt;
&lt;span class="err"&gt;pSlave^.__vfinit();&lt;/span&gt;
&lt;span class="err"&gt;pSlave^.FB_Init(FALSE, FALSE); // call the constructor&lt;/span&gt;
&lt;span class="err"&gt;{implicit off}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;there is no data. That means InputData and OutputData properties have no pointers and are always 0. The same problem exists if I access the slave Instance via the EthercatMaster (ECM0):&lt;br/&gt;
ECM0.Master^.FirstSlave. Running through the linked list via ECM0.Master^.FirstSlave^.NextInstance works and I get a list of pointers in the correct count of slaves but I cannot access other properties.&lt;/p&gt;
&lt;p&gt;Can anybody help?&lt;/p&gt;
&lt;p&gt;CODESYS Version 3.5.17.0. CODESYS Control Win (32-bit). &lt;/p&gt;
&lt;p&gt;Any help is appreciated.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>