File Write and Read using Codesys

bezzaouia
2014-11-28
2014-11-28
  • bezzaouia - 2014-11-28

    I'm using CAA_FILE.lib in my projet and I'm writing different strings in a text file and I want to write each one in a seperate line. I know the command in C++ "\n" but in CoDeSys V3.5 it doesn't work. Does someone know how to do it ?

     
  • TimvH

    TimvH - 2014-11-28

    Add $R$L to the string to get a carriage return and line feed.

     
  • bezzaouia - 2014-11-28

    it works thank you so much TimvH

     

Log in to post a comment.