Changing the Compiler Version
The compiler version, which is used in the current project to generate code for use on the target device, is defined in the project settings.
The compiler version is independent of the CODESYS version. Therefore, constant application code is generated from the source code with the same set compiler version, even if this is done from different CODESYS versions.
Important
Pay attention to the Do not update setting on the Compiler version tab of the Project Environment dialog: If this is selected and you open an older project for which the Newest compiler version is still used, then CODESYS continues to use the compiler version which was last used in the project. This also applies when another "current" version is defined in the new environment.
Tip
When you open a project in which the newest compiler version is not set, the Project Environment dialog opens with a corresponding notification and the option to update directly.
Requirement: A project is open.
Click
and then the tab.Select the desired Fix version and click OK.
The change is immediately effective.
For more information, see: Generating Application Code