Error list
The error list displays the warnings and errors that are detected on the basis of the following checks:
- Result of the check during precompilation
- These messages are referred to below as precompile errors
- See: Precompile
- Result of the execution of the static analysis
- These messages are called build errors in the following
- See: Command 'Run static analysis'
The following columns in the error list are filled for Static Analysis messages. The Category and Source columns are not displayed by default. You can optionally show these via the context menu of the error list.
Column name | Contents |
|---|---|
Code | Identifier of the Static Analysis message
Each rule or naming convention has a unique ID, which is displayed in round brackets after the rule or naming convention in the configuration view. If a symbol is used in the code that has been configured as an invalid symbol, an error or a warning will be displayed in the error list after the static analysis has been performed, depending on the configuration of SA0181. |
Category | Static Analysis |
Source |
|
Description | Description text of the error |
Project | Name of the PLC project |
File | Name of the file, e.g. name of the POU |
Row | POU line in which the error occurs |
Action | For some errors, the"..."button is displayed in this column to trigger a quick rectification of the error. See: QuickFix commands |
Samples
Code | Category | Source | Description | Project | File | Row | Action |
|---|---|---|---|---|---|---|---|
SA0033 | Static Analysis | IntelliSense / Build | Not used: Variable 'bSample' | TestProj | FB_Sample.TcPOU (Decl) | 3 | Button "…" |
NC0014 | Static Analysis | IntelliSense / Build | Invalid variable name 'iCounter'. Expected prefix 'n' | TestProj | MAIN.TcPOU (Decl) | 5 |
|
SA0181 | Static Analysis | IntelliSense / Build | Illegal symbol 'XOR' | TestProj | MAIN.TcPOU (Impl) | 1 |
|
See also: