Skip to main content

Dialog: Options : Load and Save

Symbol: _cds_icon_option_load_save.png

Function: The dialog contains settings for the behavior of CODESYS when a project is loaded or saved.

Call: Tools → Options command, Load and Save category

Create backup files

_cds_icon_checked.png: Each time the project is saved, CODESYS saves the <project name>.backup file in addition to the <project name>.project file. You can rename the backup file and open it in the programming system.

Automatically save every … minutes

_cds_icon_checked.png: CODESYS automatically saves the project at the specified time intervals in a <project name>.autosave file, which you can reload after an irregular closing of the programming system.

When the project is closed or saved regularly, CODESYS deletes the .autosave file. In the case of an irregular program termination, CODESYS keeps the .autosave file. When you open a project for which there is an associated .autosave file, the Auto Save Backup dialog opens. In this dialog, you select whether to open the .autosave file or the version of the project which was last saved by the user.

Save before build

CODESYS automatically saves the project before each build operation.

Create project recovery information

Requirement: The No protection option or the Integrity check option is selected in the project settings in the Security category. This means that the project is not protected from unauthorized access and data manipulation, and there is no integrity check when the project is loaded.

_cds_icon_checked.png: If a project crashes while being edited, then the next time the project is opened, a prompt opens to ask whether or not you want to restore the unsaved data and create a new project file. If you click Yes, then another dialog opens. In this dialog, you can select whether you want to open the restored project or open the project comparison. This project comparison displays the differences between the last saved project and the restored project.

Note: The project restore records every change on the hard disk when the change is made. If a power failure or hard disk error occurs on the hard disk during this operation, then the last change may be lost.

Advanced Settings

The Advanced Settings dialog opens.

At startup

List box for the startup screen of CODESYS:

  • Show start page: The start page of CODESYS is displayed.

  • Load last loaded project

  • Show "Open Project" dialog box

  • Show "New Project" dialog box

  • Show empty environment

News page

URL which is opened by means of the Help → CODESYS Homepage command

By default, http://www.codesys.com/startpage is specified here.

Table 159. Dialog: Advanced Settings

Project Compression

Level

Requirement: The No protection option is selected in the project settings in the Security category. This means that the project is not protected from unauthorized access and data manipulation, and there is no integrity check when the project is loaded.

List box for the compression level which is used when saving the project:

  • Least compression – best speed (recommended)

  • Medium compression – medium speed

  • Most compression – worst speed

Load Behavior

_cds_icon_checked.png

Libraries and compile information are loaded in the background while you edit the project.



For more information, see: Protecting and Saving Projects