<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to running error in simulation mode</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/f29994ba43/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/f29994ba43/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/f29994ba43/</id><updated>2020-02-27T21:51:22.467000Z</updated><subtitle>Recent posts to running error in simulation mode</subtitle><entry><title>running error in simulation mode</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/f29994ba43/?limit=25#bd08" rel="alternate"/><published>2020-02-27T21:51:22.467000Z</published><updated>2020-02-27T21:51:22.467000Z</updated><author><name>spfeif</name><uri>https://forge.codesys.com/u/spfeif/</uri></author><id>https://forge.codesys.comdcbf4eb5c778bf475d8f578e01614ee80ec9951d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have the same issue. Are you trying to run older projects from a newer build of CoDeSys? The reason I ask is I have template files that I know work with the CoDeSys version 2.3.9.4 the PLC MFG  gave me. With out adding any code I try to run it in simulation mode and get the same error you are describing above but I am using 2.3.9.13. I have changed the compiler build in the project options but that didn't seem to work. I feel it's a CoDeSys library/application versioning thing. Let me know if you find a solution. I am going to post about not being able to install multiple versions of CoDeSys.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>running error in simulation mode</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/f29994ba43/?limit=25#1a69" rel="alternate"/><published>2020-02-27T21:51:18.241000Z</published><updated>2020-02-27T21:51:18.241000Z</updated><author><name>JAPIB</name><uri>https://forge.codesys.com/u/japib/</uri></author><id>https://forge.codesys.com1d616d2f164d76fdb5573f7ef8b715442e95d5c6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Have you tried to check the value of the index that you use to browse your ARRAY ?&lt;/p&gt;
&lt;p&gt;For exemple :&lt;/p&gt;
&lt;p&gt;VAR&lt;/p&gt;
&lt;p&gt;TAB1 ARRAY&lt;span&gt;[1..10]&lt;/span&gt; OF INT;&lt;/p&gt;
&lt;p&gt;Index:INT;&lt;/p&gt;
&lt;p&gt;VAR1:INT;&lt;/p&gt;
&lt;p&gt;END_VAR&lt;/p&gt;
&lt;p&gt;Program&lt;/p&gt;
&lt;p&gt;Index:=12;&lt;/p&gt;
&lt;p&gt;VAR1:=TAB1&lt;span&gt;[Index]&lt;/span&gt;; &amp;lt;= error because the index is bigger than 10&lt;/p&gt;
&lt;p&gt;If it is this problem, To avoid this error you can use a function called "CheckBounds" in the library Check.lib. &lt;/p&gt;
&lt;p&gt;Just add this library in the library manager and the value of index will be limited from 1 to 10.&lt;/p&gt;
&lt;p&gt;Best regards &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>running error in simulation mode</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/f29994ba43/?limit=25#4f62" rel="alternate"/><published>2020-02-27T21:51:16.717000Z</published><updated>2020-02-27T21:51:16.717000Z</updated><author><name>powered-by</name><uri>https://forge.codesys.com/u/powered-by/</uri></author><id>https://forge.codesys.comfd6eaa6193ca40a5ddf8532ead607091c485ea94</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello:&lt;/p&gt;
&lt;p&gt;i have a program and i want to trial-on it in simulation mode, but it displayed "runtime error: wrong array index! please open callstack"&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>