Examples | Static analysis 10 Examples | Examples 10.1 Static analysis | Static analysis During execution of the static analysis [ } 110] , the system checks for compliance with coding rules [ } 15] , naming conventions [ } 80] and prohibited symbols [ } 108] . The following section provides a sample for each of these aspects. 1) Coding rules In this sample some coding rules are configured as errors. The violations of this coding rules are therefore reported as an error after the static analysis has been performed. Further information is shown in the following diagram. 2) Naming conventions The following naming conventions are configured:
Prefix "b" for variables of type BOOL (NC0003) Prefix "fb" for function block instances (NC0031) Prefix "FB_" for function blocks (NC0103) Prefix "I_" for interfaces (NC0108) This naming conventions are not adhered to in the declaration of Boolean variables ("x"), the instantiation of function block ("f") and the declaration of the interface type ("ITF_"). These code positions are reported as an error after the static analysis has been performed. TE1200 133 Version: 2.11.1