Variables

Variables can be declared either locally in the declaration part of a POU or in the global variable list.
The variable identifier may not contain any blank spaces or special characters, may not be declared more than once and cannot be the same as any of the keywords. Capitalization is not recognized which means that VAR1, Var1, and var1 are all the same variable. The underscore character is recognized in identifiers (e.g., "A_BCD" and "AB_CD" are considered two different identifiers). An identifier may not have more than one underscore character in a row. The first 32 characters are significant. Variables can be used anywhere the declared type allows for them. You can access available variables through the Input Assistant.