Dialog Box ‘Properties’ - ‘Build’

Symbol: 8ac1cad39cd009b0c0a8640e00cc2ac7_936800e823746ddec0a8640e01814284

Function: This dialog box includes options for compiling the object.

Call: Main menu View ‣ Properties, or context menu of the object in the device tree.

Name Description
Exclude from build

8ac1cad39cd009b0c0a8640e00cc2ac7_9a3f06830c0506c5c0a8640e012f0ace : This object and inherently its child objects are not considered for the next compile process.

The object entry is displayed in green fonts in the Devices or POUs view.

External implementation

(Late link in the runtime system)

8ac1cad39cd009b0c0a8640e00cc2ac7_9a3f06830c0506c5c0a8640e012f0ace : CODESYS does not generate any code for this object when compiling the project. The object is linked as soon as the project is running on the target system, provided it is available there (for example, in a library).

The object name is postfixed with (EXT) in Devices or POUs view.

Enable system call

8ac1cad39cd009b0c0a8640e00cc2ac7_9a3f06830c0506c5c0a8640e012f0ace : A system call (runtime system) for functions is possible.

Background: As opposed to 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 INSTANCE_OF operator.

BUT: It is not possible to call function pointers from within CODESYS.

Link always 8ac1cad39cd009b0c0a8640e00cc2ac7_9a3f06830c0506c5c0a8640e012f0ace : The object is marked by the compiler and therefore always included in the compile information. This means that it is always compiled and downloaded to the PLC.
Compiler defines

Here you can type in an definitions or conditions for compiling the object (conditional compile). You can also type in the expression expr, which is used in these kinds of pragmas. Multiple entries are possible as a comma-separated list (see {define} instructions).

Example: hello, test:='1'

See also