Detects variable declarations of data type BIT (possible within structure definitions)
Justification: The IEC 61131-3 standard does not include the data type BIT
. The code is more easily portable without BIT
.
Importance: Low
Example
TYPE Struct1 : STRUCT bitVar : BIT; iVar : INT; bVar : BOOL; END_STRUCT END_TYPE --> SA0117: Variables with data type BIT