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

listenyang
2013-05-11
2013-08-30
  • 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 - 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.