Changing the compiler version
The version of the compiler with which the current project code for use on the target device is generated is defined in the project properties.
The compiler version is independent of the TwinCAT version. Therefore constant program code will be generated from the source code if the same compiler version is set, even if this takes place from different TwinCAT versions.
If you open a project in which the latest compiler version is not set, the dialog Project Environment appears with the corresponding information and the option to update directly. |
- A PLC project is open.
- 1. Mark the PLC project and select the command Properties in the menu Project or the context menu.
- The PLC project properties open in the editor window.
- 2. Select the category Compile.
- 3. In the group field Solution options, select the desired fixed version.
- The change is effective immediately.
See also:
- TC3 User Interface documentation: Command Properties (project) > Category Compile