<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How to stop execution when a table index goes outside the table size range.</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1a72b6f84c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1a72b6f84c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/1a72b6f84c/</id><updated>2020-02-27T15:18:31.942000Z</updated><subtitle>Recent posts to How to stop execution when a table index goes outside the table size range.</subtitle><entry><title>How to stop execution when a table index goes outside the table size range.</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1a72b6f84c/?limit=25#a43d" rel="alternate"/><published>2020-02-27T15:18:31.942000Z</published><updated>2020-02-27T15:18:31.942000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.comeeaeca7b94fd488e2603f45880ac81d30f76bb74</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Use the checkBounds() POU for implicit checks.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://help.codesys.com/webapp/_cds_using_pous_for_implicit_check;product=codesys;version=3.5.15.0" rel="nofollow"&gt;https://help.codesys.com/webapp/_cds_us ... n=3.5.15.0&lt;/a&gt; m &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to stop execution when a table index goes outside the table size range.</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1a72b6f84c/?limit=25#3fe0" rel="alternate"/><published>2020-02-27T15:18:30.124000Z</published><updated>2020-02-27T15:18:30.124000Z</updated><author><name>leandroct</name><uri>https://forge.codesys.com/u/leandroct/</uri></author><id>https://forge.codesys.com09d9428cd88b88681f51a5d30c8389936737ec2e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I made a big program on multi-core CPU (Control Win V3 3.5.13.10) using indexes for tables. The problem that is happening is that the value of a variable in a table changes without a program directly changing its value. From my experience, I know that when a program tries to write to a table using an index outside the table size range, rather than sttoping with error or doing nothing, it writes to any other table that is eventually allocated in memory at a location close to the target table. My question is: &lt;br/&gt;
Is there a way to stop execution (by pause or error) whenever an index goes outside the table size range?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>