A project can be protected against inadvertent changes by means of access and write protection. In addition, however, it can also be provided with read protection (know-how protection). You have the following options:
Open the project with write protection
Requirement: No project is opened.
-
Select “File Open Project”.
The dialog box “Open project” appears.
-
Select the project.
-
Click on the arrow button
next to the “Open” button and select “Open read-only” from the menu.
CODESYS opens the project. At the top right in the main window a line appears “'Project file cannot be saved…'”. You must now select one of the offered options if you wish to save the project file.
Providing projects with the attribute 'Released'
Requirement: project is opened.
-
Select “Project Project Information”, then the “Summary” tab.
-
Activate the option “Released”, confirm with “OK”.
-
Save the project, for example with [Ctrl]+[S].
-
Open the project again with the command “File Open Project”.
CODESYS opens the project. At the top right in the main window a line appears “'Project file cannot be saved…'”. You can now directly remove the status “Released” again via the offered option if you wish to save the project file.
Providing a project in the file system with the property 'Read-only'
-
Provide the project file in its local file system with the property attribute 'Read-only'.
If you had already opened the project and you now attempt to save it under the same name, a dialog box appears informing you about the existent write protection. This dialog box provides you with the following options:
You can save the project under another name or another path using the button “Save As…”.
You can deliberately save the project under the same name and path and thus overwrite the existing version in the file system using the button “Overwrite”.
You can abort the saving procedure using the “Cancel” button, for example to remove the write protection on the disk.
If you re-open the project, a line appears at the top right in the main window
'The project cannot not be saved…'
. You must now select one of the offered options if you wish to save the project file.