Configuration | Rules Parameterizable rules Please note that some rules can be parameterized and, for example, limits can be set individually. You can configure the parameters to be taken into account in the respective check by double-clicking on the row of the corresponding rule in the rule configuration (PLC project properties > "Static Analysis" category > "Rules" tab). You can set the control parameters in the dialog that opens. The currently configured parameters are displayed in the "Limits" column of the control configuration. The following rules can be parameterized: SA0100: Variables greater than bytes [ } 56] SA0101: Names with invalid length [ } 57] SA0166:
Maximum number of input/output/VAR_IN_OUT variables [ } 74] SA0178: Cognitive complexity [ } 79] SA0179: Coupling between objects [ } 79] SA0181: Forbidden symbols [ } 80] List unused objects SA0031: Unused signatures [ } 34] SA0032: Unused enumeration constants [ } 34] SA0033: Unused variables [ } 35] SA0035: Unused input variables [ } 35] SA0036: Unused output variables [ } 36] Conversions SA0019: Implicit pointer conversions [ } 29] SA0130: Implicit expanding conversions [ } 67] SA0133: Explicit narrowing conversions [ } 68] SA0134: Explicit signed/unsigned conversions [ } 68] Usage of direct addresses SA0005: Invalid addresses and data types [ } 22] SA0047:
Access to direct addresses [ } 42] SA0048: AT declarations on direct addresses [ } 42] Rules for operators SA0051: Comparison operations on BOOL variables [ } 42] SA0052: Unusual shift operation [ } 43] SA0053: Too big bitwise shift [ } 43] SA0054: Comparisons of REAL/LREAL for equality/inequality [ } 44] SA0055: Unnecessary comparison operations of unsigned operands [ } 44] SA0056: Constant out of valid range [ } 45] SA0057: Possible loss of decimal points [ } 45] SA0058: Operations of enumeration variables [ } 46] SA0059: Comparison operations always returning TRUE or FALSE [ } 47] SA0060: Zero used as invalid operand [ } 47] SA0061: Unusual operation on pointer [ } 48] SA0062:
Expression is constant [ } 48] TE1200 17 Version: 2.11.1