Configuration | Settings 4 Configuration | Configuration After the installation [ } 10] and licensing of "TE1200 | TwinCAT 3 PLC Static Analysis", the category Static Analysis in the properties of the PLC project is extended by the additional rules and configuration options. In the project properties you will then find tabs for the basic configuration and for configuring the rules, conventions, metrics and forbidden symbols, which have to be taken into account in the code analysis. The properties of a PLC project can be opened via the context menu of PLC project object or via the Project menu, if the focus is on a PLC project in the project tree.
The current settings or modifications are saved when you save the PLC project properties. The Save button, which can be found in the Settings tab, can be used to save the current Static Analysis configuration additionally in an external file. Such a configuration file can be loaded into the development environment via the Load button. The following pages contain further information on the individual tabs of the Static Analysis project properties category.
Settings [ } 13] Rules [ } 15] Naming conventions [ } 80] Naming conventions (2) [ } 89] Metrics [ } 93] Forbidden symbols [ } 108] Scope of the "Static Analysis" configuration The parameters you set in the category Static Analysis of the PLC project properties are referred to as Solution options and therefore affect not only the PLC project whose properties you currently edit. The configured settings, rules, naming conventions, metrics and forbidden symbols are applied to all PLC projects in the development environment. 4.1 Settings | Settings The Settings tab can be used to configure whether the static code analysis is automatically performed when the code is generated.
The current configuration of the Static Analysis can be saved in an external file, or a configuration can be loaded from an external file. TE1200 13 Version: 2.11.1