<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Program freezes after I click 'Run'</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/12cf804b72/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/12cf804b72/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/12cf804b72/</id><updated>2020-02-27T20:18:43.942000Z</updated><subtitle>Recent posts to Program freezes after I click 'Run'</subtitle><entry><title>Program freezes after I click 'Run'</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/12cf804b72/?limit=25#346d" rel="alternate"/><published>2020-02-27T20:18:43.942000Z</published><updated>2020-02-27T20:18:43.942000Z</updated><author><name>b.mcd</name><uri>https://forge.codesys.com/u/b-mcd/</uri></author><id>https://forge.codesys.com9f28082854a1928055f25618b70acd3a566646d4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for your help! It apparently was an infinite loop.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Program freezes after I click 'Run'</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/12cf804b72/?limit=25#7a0b" rel="alternate"/><published>2020-02-27T20:18:42.567000Z</published><updated>2020-02-27T20:18:42.567000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comdcd0a13e049891ce048a72056c801343cafa1e5e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; scott_cunningham&lt;/p&gt;
&lt;p&gt;This typically happens when you write to a memory location you shouldn't and the PLC crashes.&lt;/p&gt;
&lt;p&gt;Many possibilities:&lt;/p&gt;
&lt;p&gt;Defining an array&lt;span&gt;[1..9]&lt;/span&gt; and then forgetting vars init to 0:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="nf"&gt;VAR&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nl"&gt;J&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nc"&gt;INT&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;aBad&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;ARRAY&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;1..9&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;OF&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nc"&gt;INT&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="n"&gt;END_VAR&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="n"&gt;aBad&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;j&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;27&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;This will compile but crash or act weird when run..&lt;/p&gt;
&lt;p&gt;Using a pointer that points to a wrong location. &lt;/p&gt;
&lt;p&gt;Etc&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Program freezes after I click 'Run'</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/12cf804b72/?limit=25#d450" rel="alternate"/><published>2020-02-27T20:18:41.227000Z</published><updated>2020-02-27T20:18:41.227000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com9a9cd3cade68d1e05b008e3532f9b27c08bf96e5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;first make a simple blinker program,check for correct working and communication.&lt;br/&gt;
be sure the program is not activating watchdog, and does not change the internet settings.&lt;br/&gt;
if still problems zip program and put it here.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Program freezes after I click 'Run'</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/12cf804b72/?limit=25#58d7" rel="alternate"/><published>2020-02-27T20:18:37.493000Z</published><updated>2020-02-27T20:18:37.493000Z</updated><author><name>b.mcd</name><uri>https://forge.codesys.com/u/b-mcd/</uri></author><id>https://forge.codesys.comcbaf872b9abf5b8645a82b42837be6b708159d16</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am running a Codesys 2.3 program on a WAGO PLC ethernet controller. After I upload the program and click 'Run', the communication with the controller freezes (as it appears). I can't communicate with the controller until I physicall reset the device and reload all the network settings.&lt;/p&gt;
&lt;p&gt;Does someone have advice for this situation?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>