<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Simulation mode error</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/4391d66cbb/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/4391d66cbb/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/4391d66cbb/</id><updated>2020-02-27T21:01:36.452000Z</updated><subtitle>Recent posts to Simulation mode error</subtitle><entry><title>Simulation mode error</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/4391d66cbb/?limit=25#761f" rel="alternate"/><published>2020-02-27T21:01:36.452000Z</published><updated>2020-02-27T21:01:36.452000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com6c34da8d4d76b725f5f394279b52c5c929733e59</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;Gut feeling that this smells like pointers are used and writing to wrong locations or using references that are not initialized. You can accidentally write to memory locations and crash your PLC.  Additionally accessing arrays out of bounds Can also cause these errors.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Simulation mode error</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/4391d66cbb/?limit=25#bd84" rel="alternate"/><published>2020-02-27T21:01:32.497000Z</published><updated>2020-02-27T21:01:32.497000Z</updated><author><name>valeri-velinov</name><uri>https://forge.codesys.com/u/valeri-velinov/</uri></author><id>https://forge.codesys.com3afcea92111d866239b44767cf95239bdbfdcd9b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In simulation mode my project out two errors. The same project on two different computer as compile in simulation mode out two errors. On one PC in simulation mode compilation is without error, but I set "run" and appears the following error - "Access to illegal address! PLC is stopped."&lt;br/&gt;
On the other computer is a compilation error - "Error 4001: ConfigEndCycle (2): Identifier 'TI' not defined"&lt;br/&gt;
I don't know what is the problem. Does anyone have any idea what could be the reason?&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: codesys_problem_2.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1981"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: codesys_problem_1.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1980"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>