<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How to add startup parameters to an EtherCAT slave</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e479dc004c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e479dc004c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/e479dc004c/</id><updated>2020-02-27T14:58:18.904000Z</updated><subtitle>Recent posts to How to add startup parameters to an EtherCAT slave</subtitle><entry><title>How to add startup parameters to an EtherCAT slave</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e479dc004c/?limit=25#3a94" rel="alternate"/><published>2020-02-27T14:58:18.904000Z</published><updated>2020-02-27T14:58:18.904000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com26df6acabff7730e832f1956d17dc755e39564c1</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,&lt;/p&gt;
&lt;p&gt;The set of device parameters is determined by the device description file and cannot be modified via the scripting API.&lt;/p&gt;
&lt;p&gt;Adding arbitrary host parameters would not be helpful if neither the device nor the device editor honor them...&lt;/p&gt;
&lt;p&gt;HTH,&lt;br/&gt;
Markus&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to add startup parameters to an EtherCAT slave</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e479dc004c/?limit=25#9eb7" rel="alternate"/><published>2020-02-27T14:58:17.258000Z</published><updated>2020-02-27T14:58:17.258000Z</updated><author><name>mkeller</name><uri>https://forge.codesys.com/u/mkeller/</uri></author><id>https://forge.codesys.com12c8f2541d10a19c45493f25461a59168844fec7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;The device parameter set does not allow you to add, insert or remove a parameter or clear the whole collection. You are only allowed to change the value of an existing parameter. The documentation of the ScriptEngine should mention that.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Martin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to add startup parameters to an EtherCAT slave</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e479dc004c/?limit=25#7799" rel="alternate"/><published>2020-02-27T14:58:16.662000Z</published><updated>2020-02-27T14:58:16.662000Z</updated><author><name>berl</name><uri>https://forge.codesys.com/u/berl/</uri></author><id>https://forge.codesys.comebfdec8dacdf636411416683a146c1a1ef99f08f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
I want to add startup parameters e.g. to the Beckhoff EL6631. I tried this one:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;proj&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;find&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="ss"&gt;"EL6631_1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="n"&gt;connectors&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;by_id&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="n"&gt;host_parameters&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;Insert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1627394048&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;-&amp;gt; I get the error message: "Collection is read only"&lt;/p&gt;
&lt;p&gt;Any other idea?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>