Currently, I have been working with variable array sizes in within libraries in CoDeSys, but I couldn't find a proper solution. I tried the following:
- ARRAY[*], which unfortunately doesn't work when a * reference refers to another * reference. You will get an error when generating code
- Library Parameter Lists, which are deprecated in later versions and only function on a top-level library, while we use supporting libraries as well...
Are there any other methods that can solve this issue with arrays of variable length in libraries?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Currently, I have been working with variable array sizes in within libraries in CoDeSys, but I couldn't find a proper solution. I tried the following:
- ARRAY[*], which unfortunately doesn't work when a * reference refers to another * reference. You will get an error when generating code
- Library Parameter Lists, which are deprecated in later versions and only function on a top-level library, while we use supporting libraries as well...
Are there any other methods that can solve this issue with arrays of variable length in libraries?