Skip to main content

Making CODESYS Sample Projects Executable

When you open a CODESYS sample project, you will often see many errors in the message views and dialogs. This is due to different CODESYS versions, missing libraries, or outdated storage formats.

The following steps will show you how to compile the project without any errors.

  1. If the project was saved with a different version than the one you installed, then the Project Inspection – Overview dialog opens.

    Select the first option and click Finish.

    _example_img_project_inspection.png
  2. If the project environment of the sample project does not match your current installation, then the Project Environment dialog opens.

    Click the Set All to Newest button. In the next dialog, click OK to confirm.

    _example_img_project_environment.png
  3. If the sample project was saved with an older storage format, then the dialog for updating the storage format opens.

    Click Yes to confirm the dialog.

    _example_img_project_storage_format.png
  4. Update the devices in the device tree.

    _example_img_update_device.png
  5. Load missing libraries from the server. To do this, open the Library Manager and click the Download Missing Libraries command.

    _example_img_download_libraries.png

    Also execute this command for the Library Manager in the POUs view.

After these updates have been performed, you should be able to compile the sample project without errors.