Writing and Reading the Project Sources to/from the SD Card

Usually it is sufficient to load the boot project (compiled user program) to the CPU. Sometimes, however, the user may wish to transfer the entire project sources to the CPU. This is why two different commands are available for this: The command “Online” => “Create boot project” writes the boot project to the flash memory of the CPU whereas the command “Online” => “Sourcecode download” stores the project sources to the SD card.

The project sources and all parts of a project are packed in the compressed file\ “SOURCE.DAT”:

  • All blocks in all IEC languages with all comments and symbols
  • All visualizations
  • Task configuration
  • PLC configuration
  • Online change information

The following is also contained, if set accordingly in the project options:

  • All loaded libraries
  • All required configuration files

Reading the project sources can be done in two ways:

  • Reading the compressed file SOURCE.DAT from the CPU (with an SD Card inserted)
  • Opening the compressed project directly on the PC using an SD Card reader or opening a copy of the file SOURCE.DAT stored on the hard disk of the PC.