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

How I should define a huge size byte array in CoDeSys V3?

listenyang
2013-05-11
2013-08-30
  • listenyang

    listenyang - 2013-05-11

    Hello, all

    I need to save a huge size(~255Mbyte) testing temp data in byte array, and after testing finished, will send them to remote PC by TCP for analysing.
    My question is:
    How I define this size byte array in CoDeSys V3 could be resonable and safe?
    Should I assign any adress for it(AT %...)?
    Thanks.

    br/
    listenyang

     
  • parthi1980

    parthi1980 - 2013-08-30

    Hello listenyang,

    Handling the huge data in the controller is bit risky. The controller may get into insufficient memory.
    I suggest you to implement data logging in the controller or usb stick and transfer the data through FTP protocol for post processing.

    Thanks,
    S. Parthiban

     

Log in to post a comment.