POUs and variables can change their behavior with respect to the symbol configuration as a result of pragmas. A detailed description can be found on the help page of each pragma.
Pragma with attribute |
Effect |
See also |
---|---|---|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
The marked variables are hidden and therefore cannot be exported. However, if the source code file from the compiled library is available, or if CODESYS has been started with the command-line option |
|
|
Replaced constants are not available in the symbol configuration editor and therefore cannot be exported. A constant being replaced depends on whether or not the “Replace constants” compiler option has been selected for all constants and whether or not pragmas overwrite the compiler option for individual constants. |
⮫ “Attribute 'const_replaced', Attribute 'const_non_replaced'” |
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
Variables are hidden and therefore cannot be exported. |
|
|
Variables are hidden and therefore cannot be exported. |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
POUs and library POUs are integrated in the compile list and therefore cannot be exported. |
|
|
Properties |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
Can lead to intentional memory misalignment |
|
|
None |
|
|
None |
|
|
None |
|
|
None |
|
|
Variable is exported as symbol. The variable is displayed in the symbol list only when the “View”, “Symbols Exported via Attribute” option is selected in the symbol configuration editor. The access rights, which have been defined with the pragma, are displayed In the “Attribute” column. |
|
|
None |
|
|
None |