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

How to stop execution when a table index goes outside the table size range.

leandroct
2019-11-06
2019-11-06
  • leandroct - 2019-11-06

    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:
    Is there a way to stop execution (by pause or error) whenever an index goes outside the table size range?

     

Log in to post a comment.