<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to EtherCAT : enable/disable slave by IEC code</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/afb2696e19/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/afb2696e19/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/afb2696e19/</id><updated>2023-01-06T06:24:57.188000Z</updated><subtitle>Recent posts to EtherCAT : enable/disable slave by IEC code</subtitle><entry><title>EtherCAT : enable/disable slave by IEC code</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/afb2696e19/?limit=25#b008" rel="alternate"/><published>2023-01-06T06:24:57.188000Z</published><updated>2023-01-06T06:24:57.188000Z</updated><author><name>mahmutonx</name><uri>https://forge.codesys.com/u/mahmutonx/</uri></author><id>https://forge.codesys.coma7f37612bee474613d0cb53c34b971056ccd2c57</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, you can find help in this link below &lt;br/&gt;
&lt;a href="https://forge.codesys.com/prj/codesys-example/caa-device-diag/home/Home/"&gt;https://forge.codesys.com/prj/codesys-example/caa-device-diag/home/Home/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>EtherCAT : enable/disable slave by IEC code</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/afb2696e19/?limit=25#b300" rel="alternate"/><published>2023-01-06T06:24:54.258000Z</published><updated>2023-01-06T06:24:54.258000Z</updated><author><name>mahmutonx</name><uri>https://forge.codesys.com/u/mahmutonx/</uri></author><id>https://forge.codesys.com991f64a418f8df4197b30a9bbfe049c37ba97ca0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, you can find help in this link below &lt;br/&gt;
&lt;a href="https://forge.codesys.com/prj/codesys-example/caa-device-diag/home/Home/"&gt;https://forge.codesys.com/prj/codesys-example/caa-device-diag/home/Home/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>EtherCAT : enable/disable slave by IEC code</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/afb2696e19/?limit=25#a5aa" rel="alternate"/><published>2023-01-06T06:24:52.376000Z</published><updated>2023-01-06T06:24:52.376000Z</updated><author><name>mahmutonx</name><uri>https://forge.codesys.com/u/mahmutonx/</uri></author><id>https://forge.codesys.com7ade26fba920f3c992e3de1f81e86d6de003c0bc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, you can find help in this link below &lt;br/&gt;
&lt;a href="https://forge.codesys.com/prj/codesys-example/caa-device-diag/home/Home/"&gt;https://forge.codesys.com/prj/codesys-example/caa-device-diag/home/Home/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>EtherCAT : enable/disable slave by IEC code</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/afb2696e19/?limit=25#d4b4" rel="alternate"/><published>2022-11-23T10:42:49.832000Z</published><updated>2022-11-23T10:42:49.832000Z</updated><author><name>totorovic</name><uri>https://forge.codesys.com/u/totorovic/</uri></author><id>https://forge.codesys.com5f858705545c202a3ffcedd9350bc7bea11eeb57</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Codesys IDE : 3.5.17.21&lt;br/&gt;
Master Ethercat : 3.5.17.0&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;When we need to disable/enable a Ethercat Slave by IEC code, the following code could be executed and works fine if we don't executed it on program startup :&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt; &lt;span class="n"&gt;Disable&lt;/span&gt;
&lt;span class="n"&gt;Slavename&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;SlaveEnable&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;FALSE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="o"&gt;//&lt;/span&gt; &lt;span class="n"&gt;Enable&lt;/span&gt;
&lt;span class="n"&gt;Slavename&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;SlaveEnable&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;TRUE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Why there is no auto-completion for this ?&lt;br/&gt;
Why it is not related in the Ethercat help ?&lt;/p&gt;
&lt;p&gt;What are the tips or restrictions on using this code?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>