C3 Option Files
CODESYS stores its preference settings at various places in the file system. This article gives an overview of the various files and locations.
Please note that CODESYS
might be replaced by a different name in the case of a brand-labelled product.
Location | Meaning | Evaluation time |
> %APPDATA%\CODESYS\CODESYS.opt | The user specific settings, i.e. all settings that have been stored below OptionRoot.User . Examples: Recently opened projects, window configuration, most options configured in Tools :: Options..., etc. | During CODESYS launch. |
> %APPDATA%\CODESYS\CODESYS (profile).opt.menu | The user menu configuration, depending on the version profile. | During CODESYS launch. |
%APPDATA%\CODESYS\CODESYS (profile).opt.tbar | The user toolbar configuration, depending on the version profile. | During CODESYS launch. |
%APPDATA%\CODESYS\CODESYS (profile).opt.keyb | The user keyboard shortcut configuration, depending on the version profile. | During CODESYS launch. |
%PROGRAMDATA%\CODESYS\CODESYS.opt | The machine specific settings, i.e. all settings that have been stored below OptionRoot.Machine . Examples: Repository locations, some options configured in Tools :: Options..., etc. | During CODESYS launch. |
%PROGRAMDATA%\CODESYS\CODESYSUser.opt | This file contains the same information as the %APPDATA%\CODESYS\CODESYS.opt of the user who last worked with CODESYS. It is a template for new users who did not launch CODESYS before. | During CODESYS launch, if %APPDATA%\CODESYS\CODESYS.opt is not present. |
%PROGRAMDATA%\CODESYS\CODESYSProjectDefaults.opt | Currently not used. | N/A |
installdir\CODESYSUser.opt | This file contains the default contents for %PROGRAMDATA%\CODESYS\CODESYSUser.opt and will be used if that file is not present. | During CODESYS launch, if %PROGRAMDATA%\CODESYS\CODESYSUser.opt is not present. |
installdir\Standard (profile).opt.menu | The default menu configuration, depending on the version profile. | During CODESYS launch, if %APPDATA%\CODESYS\CODESYS (profile).opt.menu is not present. |
installdir\Standard (profile).opt.tbar | The default toolbar configuration, depending on the version profile. | During CODESYS launch, if %APPDATA%\CODESYS\CODESYS (profile).opt.tbar is not present. |
installdir\Standard (profile).opt.keyb | The default keyboard shortcut configuration, depending on the version profile. | During CODESYS launch, if %APPDATA%\CODESYS\CODESYS (profile).opt.keyb is not present. |
installdir\Standard.opt.menu | The default menu configuration, version profile independent. | During CODESYS launch, if installdir\Standard (profile).opt.menu is not present. |
installdir\Standard.opt.tbar | The default toolbar configuration, version profile independent. | During CODESYS launch, if installdir\Standard (profile).opt.tbar is not present. |
installdir\Standard.opt.keyb | The default keyboard shortcut configuration, version profile independent. | During CODESYS launch, if installdir\Standard (profile).opt.keyb is not present. |
projectdir\projectname-AllUsers.opt | The project-specific machine settings, i.e. all settings that have been stored below OptionRoot.MachineProject . | While opening the corresponding project. |
projectdir\projectname-username-domain.opt | The project-specific user settings, i.e. all settings that have been stored below OptionRoot.UserProject , e.g. list open editors, breakpoints, communication settings, etc. | While opening the corresponding project. |