Skip to main content

Command: Save Project as

The command opens the standard Windows dialog for saving a file. The project can be saved with the desired location and file type.

File type

For both ordinary projects and library projects, this list box contains the respective versions of the development system for which the project can be saved. If the current project contains add-ons which are not contained in the selected memory format (profile), then the Extend Profile dialog opens.

  • Project files (CODESYS V<version>) (*.project): The project is saved as a CODESYS project file named "<project name>.project" for the version of the development system which is currently used or selected.

  • Library files (V<version>) (*.library)CODESYS: The project is saved as a CODESYS library file named "<project name>.library" for the version of the development system which is currently used or selected.

If you want to open the project later in an older version, then it makes sense to save for precisely this memory format, as you will then be immediately notified about possible data loss.

Tip

The storage format of a project is displayed in the project Information (ProjectProject Information, File tab).

. Before you save a project as a library:
  • Make sure that the rules for creating libraries have been followed.

  • If it is to be possible to configure global constants provided by the library at a later time in an application, then define them in a parameter list. A parameter list is a special type of global variable list.

  • When you save the project, no automatic check for errors is performed.

  • Different from CoDeSys V2.3, there is no distinction between "external" and "internal" libraries. Now, in the properties of each individual project object, you can define whether or not the object should be treated as "external".

  • Think about whether the created library should be immediately installed in the system library repository. If so, then use the Save Project and Install in the Library Repository command.

  • If you want to protect the library project from later changes, then set the Released attribute in the Project Information dialog. When the next attempt is made to save the project, a corresponding message will be displayed and the user will have to react to the write protection with deliberate actions.

  • If you save the project as a version of the development system other than the one which is currently used, then you will first be notified about possible data loss.

Dialog: Extend Profile

In this dialog, the selected profile (memory format) can be extended by the add-ons which are contained in the current project. The profile is saved temporarily and then deleted after being saved or exported.

Add to profile

_cds_icon_checked.png: The current profile is extended by the add-on so that the add-on data of the current project is also saved.

Add-on

The add-on of the current project which is not contained in the selected memory format

Version

Version of the Add-on included in the current profile

If multiple versions are installed, then the version can be selected.

Save profile

Opens the Enter Profile Name dialog

In the dialog, specify the name for the new profile. The new profile is saved permanently at $ProgramData$/$PRODUCT$/CustomInformationalProfiles.

Use saved profile

The profile which was permanently saved in Save profile is used for saving or exporting the current project.

For more information, see: Save Project and Load and Save