Project Settings - Compile Options

Overview

Compiler Version

Fix Version

The latest available compiler version is used when the project is compiled, for example by one of the Generate Code commands from the Build menu or during download. You cannot select another version.

NOTE: Consult the Programming Guide specific to your controller for information on whether the data type LREAL will be treated as 64-bit type or converted to REAL.

Settings

Allow unicode characters for identifiers

By default, this option is deactivated because the use of unicode characters in identifier names is not matching the IEC standard. However, it can be needed, for example, for Asian languages.

Replace constants

By default, this option is activated. In online mode, the constants are indicated by a icon preceding the value in the declaration or watch view. In this case, constant values cannot be modified. If the option is deactivated, the constant can be accessed.

NOTE: When designing an interface library, activate the Replace constants option to help avoid an online change.

Enable logging in breakpoints

By default, this option is deactivated. For breakpoints which are defined as execution points, you can define a message text in the dialog box Breakpoint Properties. This text is displayed in the device Log view when the program stops at the breakpoint.

UTF8 Encoding for STRING

By default, this option is deactivated. Strings with the data type STRING are project-wide encoded in Latin 1 format. Index access to the literal is possible. To encode a single literal in UTF-8 format, add the UTF8# type prefix to the literal. For further information, refer to UTF-8 Encoding: Encoding Single Literals in UTF-8 Format.

Activate this option to achieve project-wide interpretation of strings of data type STRING as UTF-8. This applies to every STRING literal and is also used for monitoring. Index access to UTF-8-coded literals is not practical.

Compiler Warnings

Maximum number of warnings

Define here the maximum number of compiler warnings that should be listed in the Messages view. Refer to the selection in category Compiler Warnings.