Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Error 3132: System-Stack too small

2013-02-19
2013-02-20
  • stephanegeorget - 2013-02-19

    Hello,

    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.)

    Is there any obvious way to overcome this situation?

    StΓ©phane Georget
    SGEORGET20130219

     
  • shooter - 2013-02-20

    check for illegal exits in the program, increase stack on resources.

     

Log in to post a comment.