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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
Use the checkBounds() POU for implicit checks.
https://help.codesys.com/webapp/_cds_us ... n=3.5.15.0 m