4 System variables
4.4
Alias names
Alias names can be assigned to system variables:
The function of the system variable can be described by using an alias name. In this example the alias
name "Switch" is assigned to the system variable bool_in01.
When the dialog is closed with "OK", the name entered is checked for uniqueness. If the name is already
in use, a corresponding message appears. In this case another name must be assigned.
If the "rename in source code" function is active (checked), the variable name in the existing ST code is
replaced by the alias name. Otherwise, the alias name is not used in the ST code until the variable is
inserted again.
After assigning the alias name, the variable name and alias name are displayed in the variables window:
Only the alias name is displayed in the Force window:
23