<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Error 3132: System-Stack too small</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/33752f8e8d/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/33752f8e8d/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/33752f8e8d/</id><updated>2020-02-27T20:55:10.385000Z</updated><subtitle>Recent posts to Error 3132: System-Stack too small</subtitle><entry><title>Error 3132: System-Stack too small</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/33752f8e8d/?limit=25#d5a9" rel="alternate"/><published>2020-02-27T20:55:10.385000Z</published><updated>2020-02-27T20:55:10.385000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com1b2c575d50d552104abdb65e112a56b9b709a1a6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;check for illegal exits in the program, increase stack on resources.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Error 3132: System-Stack too small</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/33752f8e8d/?limit=25#f477" rel="alternate"/><published>2020-02-27T20:55:08.830000Z</published><updated>2020-02-27T20:55:08.830000Z</updated><author><name>stephanegeorget</name><uri>https://forge.codesys.com/u/stephanegeorget/</uri></author><id>https://forge.codesys.coma4e5add35bfaa2c78ad35ea26a79d38fe24dc701</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;When I do more than about 10 nested function calls (or programs, or function blocks, or function block actions) in CoDeSys, I get the error 3132: System-Stack too small: NNN 'WORD' needed, 128 'WORD' available. The number NNN increases if I use the error check functions like Checkbounds, CheckDivByte, CheckRangeUnsigned, etc. (and provided something in the nested functions has something to do with arrays, dividing bytes, etc.)&lt;/p&gt;
&lt;p&gt;Is there any obvious way to overcome this situation?&lt;/p&gt;
&lt;p&gt;Stéphane Georget&lt;br/&gt;
SGEORGET20130219&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>