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

RUNTIME ERROR: Wrong array index! Please open callstack!

pkennedy
2016-03-09
2016-03-20
  • pkennedy - 2016-03-09

    I have a program and the only change I made was add 3 global variables, each a string and as soon as I try to run the program in simulation mode I receive this error. These three variable are included in the write file from the master (PLC) to the slave (Screen), as soon as I remove them I can run the program no problem.

    When I go to Online> Show Call stack... there is nothing in there.

    I can get it to run a single cycle, as soon as I try to get it to run another cycle I receive the error.

     
  • shooter - 2016-03-20

    you redefine an array (or make the same arrayname double, check the variable with ctrl F3
    it should only be one write.

     

Log in to post a comment.