<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to EtherCat Master running or Not</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/809904eac7/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/809904eac7/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/809904eac7/</id><updated>2022-01-18T11:38:43.934000Z</updated><subtitle>Recent posts to EtherCat Master running or Not</subtitle><entry><title>EtherCat Master running or Not</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/809904eac7/?limit=25#414e" rel="alternate"/><published>2022-01-18T11:38:43.934000Z</published><updated>2022-01-18T11:38:43.934000Z</updated><author><name>skalakope</name><uri>https://forge.codesys.com/u/skalakope/</uri></author><id>https://forge.codesys.comab6c638f3ec53db4fa8cf92a37bc5d20e2044abd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Dear eschwellinger!&lt;/p&gt;
&lt;p&gt;Thank You for your rapid help! It works now.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>EtherCat Master running or Not</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/809904eac7/?limit=25#78ea" rel="alternate"/><published>2022-01-18T11:30:17.804000Z</published><updated>2022-01-18T11:30:17.804000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.combb4d9ddebd1ce1be8440f8564924f5dceed3f014</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
you need to call the global Master instance in your code to have these variables up to date.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="err"&gt;Ethercat_Master();&lt;/span&gt;
&lt;span class="c"&gt;xconfigfinished:=Ethercat_Master.xConfigFinished;&lt;/span&gt;
&lt;span class="c"&gt;xError:=Ethercat_Master.xError;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>EtherCat Master running or Not</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/809904eac7/?limit=25#b86e" rel="alternate"/><published>2022-01-18T10:17:03.447000Z</published><updated>2022-01-18T10:17:03.447000Z</updated><author><name>skalakope</name><uri>https://forge.codesys.com/u/skalakope/</uri></author><id>https://forge.codesys.com12b28af17522dc066e9b91a1063a4a48a6a04827</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Dear All,&lt;/p&gt;
&lt;p&gt;I am using EtherCat Master in my project, and I am testing it. My problem is, that I can not catch any status. In the input assistant, I could find the following:&lt;br/&gt;
IoConfig_Globals.EtherCAT_Master.xError -&amp;gt; it is boolean, and according to the explanation:&lt;br/&gt;
"The output is TRUE when&lt;br/&gt;
&lt;em&gt; an error occurs when starting the EtherCAT stack, or&lt;br/&gt;
&lt;/em&gt; communication with the slaves is interrupted because no more messages can be received (for example, due to a damaged cable)."&lt;/p&gt;
&lt;p&gt;Based on it, I have added to my ST this one:&lt;br/&gt;
e:=IoConfig_Globals.EtherCAT_Master.xError;&lt;/p&gt;
&lt;p&gt;Where e is boolean variables.&lt;/p&gt;
&lt;p&gt;But it always FALSE. If the program is running, I unplug the EtherCat EK1100 from the power, and in the Codesys I can see the red triangles next to the EtherCat master etc., but the variable is still FALSE.&lt;/p&gt;
&lt;p&gt;How can I check it during the run? Is there any other solution to check does the Master run properly or not?&lt;/p&gt;
&lt;p&gt;Thank You in advance!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>