beckhoff TE1200 — 4.3 Naming conventions

Configuration | Naming conventions FOR nIndex := INT#1 TO INT#10 DO aSample[nIndex] := 0; // => SA0180 END_FOR 4.2.1.7.16 SA0181: Forbidden symbols | SA0181: Forbidden symbols 4.3 Naming conventions | Naming conventions In the Naming Conventions tab you can define naming conventions. Their compliance is accounted for in the Static Analysis execution [ } 110] . You define mandatory prefixes for the different data types of variables as well as for different scopes, function block types, and data type declarations. The names of all objects for which a convention can be specified are displayed in the project properties as a tree structure. The objects are arranged below organizational nodes.

In the Naming Conventions tab, you will also find options [ } 89] that extend the configuration of the prefixes. You can use these options to configure how the expected overall prefix for variables/declarations should be composed. TE1200 80 Version: 2.11.1 Function This rule allows you to enable or disable the checking of forbidden symbols. Forbidden symbols are keywords, symbols, and identifiers that cannot be used in the project's code. You can configure the required forbidden symbols in the Forbidden symbols [} 108] tab. Reason Depending on the application or guidelines, some keywords, symbols, or identifiers may not be used. You can use this rule to check such specifications.

Importance Medium