Write User-defined Content to File

You can create your own logging messages. Write them to any memory location available for IEC access e.g. to read the file via the PLC’s FTP server.

  1. Use the SysLibFile.h or stdio.h file.

  2. For further information, please refer to the CODESYS online help (chapter AC500 CPU Storage Devices).