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

Help initializing and storing large 2d arrays

Anonymous
2019-05-08
2019-05-08
  • Anonymous - 2019-05-08

    Originally created by: 87skier

    Hello,

    I am writing a PLC program to manipulate large 2d arrays, about 100x100. I need to import the values (mostly of the form 1.234e5) into my program at startup but not sure of the best way to do it. I have them stored in CSV files and can alter them to fit the needs of the PLC.

    The system needs to be reasonably flexible. Mainly, it needs to be changeable without having to manually copy in thousands of lines of a multi-dimensional array.

    Any suggestions here?

    Thank you

     
  • singleton - 2019-05-08

    Hi,
    what about using a SQL database for read/write instead of importing the complete arrays?

    Have a look in the store and search for "SQL".

     

Log in to post a comment.