Recently I stuck on Codesys 3.5.16 error "Index was outside the bounds of the array", when try to add a new POU.
And I found the reason of this error and how to avoid it. Hope, this will be useful for all, until next service pack released.
For me this happens, when Devices menu field on left side of the screen was set to Auto Hide mode. During operations to add a new POU I select menu item Application, then Add Object. Usually at this moment mouse pointer goes outside Devices menu field borders and Devices menu hides. Then, when menu item POU is selected, the CODESYS error message window "Index was outside the bounds of the array" appeared. But, if Devices menu field 'pinned' (no Auto Hide selection) all goes right way.
It did work. Same issue in 3.5.17 also.
Wow I ran into the same thing. Can't believe this is even an issue. Thanks!!
Log in to post a comment.