Options for Load & Save¶
If you choose this category in the Options dialog box , then you get the following dialog box:
When activating an option, a check icon appears before the option.
Create Backup: CoDeSys creates a backup file at every save with the extension “.bak”. Contrary to the *.asd-file (see below, ‘Auto Save’) this *.bak-file is kept after closing the project. So you can restore the version you had before the last project save.
Auto Save: While you are working, your project is saved according to a defined time interval (Auto Save Interval) to a temporary file with the extension “.asd” in the projects directory. This file is erased at a normal exit from the program. If for any reason CoDeSys is not shut down “normally” (e.g. due to a power failure), then the file will not get erased. When you open the file again the following message appears:
You can now decide whether you want to open the original file or the auto save file.
If a library *.lib is opened as project, a corresponding auto-save-file “*.asl” will be created.
Auto save before compile: The project will be saved before each compilation. In doing so a file with the extension “.asd” resp. “.asl” will be created, which behaves like described above for the option ‘Auto Save’.
Ask for project info: When saving a new project or saving a project under a new name, the project info is automatically called. You can visualize the project info with the command ‘Project’ ‘Project info’ and also process it.
Auto Load: At the next start of CoDeSys the last open project is automatically loaded. The loading of a project at the start of CoDeSys can also take place by entering the project in the command line.
Remind of boot project on exit: If the project has been modified and downloaded without creating a new boot project since the last download of a boot project, then a dialog will advise the user before leaving the project: “No boot project created since last download. Exit anyway ?”.
Save ENI credentials: User name and Password, as they might be inserted in the Login dialog for the ENI data base, will be saved. Concerning the access data, entered once by the user at ‘Open project from source code manager’ (‘File’ ‘Open’) in this case additionally user name and password will be saved in the codesys.ini file.
Note
The settings will be stored in CoDeSys.