SA0101: Names with invalid lengthPermalink

Detects names with invalid lengths. In the “Project Settings”, double-click the rule entry to open a dialog where you can define the length of the name and define any exception.

Justification: Some programming guidelines specify a minimum length for variable names. This analysis can be used to check compliance.

Importance: Low

PLCopen rule: N6

Example

PROGRAM PLC1					// SA0101
VAR
	iVar1: INT;                 // SA0101
END_VAR

--> SA0101: Incorrect length of name 'PLC1'