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). Then you have the following options.
Requirement: A project is not open.
-
Click .
The Open Project dialog opens.
-
Select the project.
-
Click 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 is displayed: "The project cannot not be saved…". You must now select one of the offered options if you want to save the project file.
For more information, see: Opening a V3 Project
Requirement: A project is open.
-
Click and then the Summary tab.
-
Activate the option Released, confirm with OK.
-
Save the project, for example with Ctrl+S.
-
Click to open the project.
CODESYS opens the project. At the top right in the main window a line is displayed: "The project cannot not be saved…". You can now directly remove the status Released again via the offered option if you want to save the project file.
-
Provide the project file in its local file system with the "Read-only" property attribute.
If you had already opened the project and you now attempt to save it under the same name, a dialog appears informing you about the existent write protection. This dialog provides you with the following options:
You can save the project under another name or another path by clicking the Save as button.
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 want to save the project file.
For more information, see: Protecting and Saving Projects