Dialog: Properties: Build
Symbol:
Function: The dialog contains options for compiling (build operation) the object.
Call: command; context menu of the object in the device tree
Name | Description |
---|---|
Exclude from build |
The object entry is displayed in green fonts in the Devices view or in the POUs view. |
External implementation (Late link in the runtime system) |
The maximum length of these object names (function blocks and methods) is 64 characters. The object name is appended with |
Enable system call |
Background: Different from CoDeSys V2.3, the ADR operator in V3 can be used with function names, program names, function block names, and method names. It replaces the BUT: It is not possible to call function pointers from within CODESYS. |
Link always |
Note: The pragma |
Compiler defines | Here you can specify "defines" or conditions for compiling the object (conditional compile). You can also specify the Example: |
Additional compiler definitions from the device description | |
Defined in device | List of compiler definitions which originate from the device description These compiler definitions are used in the build if they are not listed in the Ignored definitions field. |
Ignored definitions | List of compiler definitions from the device description which are not used in the build |
![]() | Copies the selected compiler definition from the Defined in device field to the Ignored definitions field |
![]() | Moves the selected compiler definition from the Ignored definitions field to the Defined in device field The compiler definition is used in the build. |
For more information, see: Conditional Pragmas