Skip to main content

Command: Open Project

Symbol: _ico_open_project.png

Shortcut: Ctrl+O

Function: The command opens the default dialog for loading a project. You can search for a CODESYS project in the file system and open it in the development system.

Call: File menu

Dialog: Open Project

File type

Type of CODESYS project to be loaded to the development system

All supported files

Filters by all projects which CODESYS can load

Hint: For example, you can select PRO projects which have been created with CoDeSys V2.3. These kinds of projects are also converted.

File extension: project

Filters by projects which have been created with CODESYS V3

File extension: projectarchive

Filters by project archives which have been created with CODESYS V3

File extension: library

Filters by library projects which have been created with CODESYS V3

Open

Loads the selected project in CODESYS

Note: Depending on the state of your CODESYS installation, it may be necessary to update or supplement the installation. If this is the case, then first open another Project Inspection dialog with options for installation management.

Dialog: Project Inspection

If the CODESYS project which you want to edit is not suitable to be loaded with your current installation, then the dialog of the Project Inspection wizard opens. It tells you that the project has been saved with a different CODESYS version and provides options on how to proceed.

Example of an unsuitable installation: The project to be opened contains objects of the UML Statechart implementation language, but the installation does not contain the CODESYS UML add-on.

The wizard runs through the following dialogs:

Table 69. Project Inspection – Overview

The project has been saved with a different version <CODESYS version>.

This project is still in a development phase. I want to open it in this version and do not mind that different code may be generated.

Clicking Next opens the Project Inspection – Missing add-ons dialog for deciding whether or not add-ons which are missing in the current installation should be added before opening.

This project has already been deployed on a machine/plant. I want to generate exactly the same code and hence need the possibility to log in without any change.

Consequence: A compatible version will be opened or installed if not yet available.

Clicking Next opens the Project Inspection – Selection dialog for switching to another installation.

Details

The button is only available if the project was saved with CODESYS version 3.5.19.0 or higher.

Opens the Differences dialog. Here you see which add-ons were installed when you saved the project and whether and how they are available in the current installation.



Table 70. Project Inspection – Missing add-ons

The project contains objects for which no suitable add-on is installed

Install missing add-ons for this version and reboot.

Click Next display the Project Inspection – Add-Ons dialog for configuring the installation of additional add-ons.

Continue anyway. The objects cannot be changed.

Clicking Finish will open the project in the current installation.

Restrictions:

  • The project opens with write protection.

  • The project contains unreadable, unknown objects.

  • Logging in to a controller is not possible with the project.



Table 71. Project Inspection – Add-Ons

Extending the current installation by the following add-ons.

The displayed missing required add-ons and the explicitly selected optional add-ons are installed after clicking Finish to confirm. To do this, close the CODESYS Development System and start the installer.

Required Add-On, Status

Names, versions, and status of required add-ons

Possible statuses:

  • Missing

  • Matching

  • Update from <version number> to <version number>

Optional Add-On, Status

Names and versions of optional add-ons. These are add-ons which are not absolutely needed by the project, but were available when it was saved.



Table 72. Project Inspection – Selection

The dialog opens when the option to open the project in a compatible CODESYS version was selected in Project Inspection – Overview. Here you select a different, project-compatible installation.

Use another installation

List of suitable installations found on the computer. After an installation is selected, clicking Finish will close the current instance of CODESYS Development System and open the project in the new compatible version.

Download and setup a new installation

Clicking Next will open the Project Inspection – Add-Ons dialog. It shows the required and optional add-ons which are included or can be added in the new installation which is being created. Clicking "Finish" will close CODESYS Development System and start CODESYS Installer. It executes the download and the new installation.



For more information, see: Opening a V3 Project and Opening a V2.3 Project