Skip to main content

Updating 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.

Tip

When you open a project where the latest 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.

Important

An update to the latest compiler version is possible, but resetting to an older version is not possible.

  1. Click the Project → Project Settings command and then select the Compile options category.

  2. Under Compiler Version, set the Fix version to the current version and click OK.

    The change is effective immediately.

For more information, see the following: Generating Application Code