You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Data can be stored in UTF-8 format when working with the WSTRING type in the IEC code.
By using the ConvertUTF16toUTF8 function from the StringUtiIs library, the text is converted to UTF-8 format and can be saved to a file.


  • Create a "Standard project" and select CODESYS Control Win V3 as the device.
  • Define the target system by means of the Netzwerksuche.



  • Open the Library Manager and add the following libraries:
    StringUtils
    SysFile
    SysTypes2 Interfaces



  • Edit the PLC_PRG POU as follows:










  • dgdsagasdg



  • asdgdsg




  • dsagsadg


  • No labels