Variables are symbolic names for input contacts, output contacts and memory areas in the PLC. The symbolic names are used in the program instead of explicit user addresses.
Avoid using explicit user addresses. We recommend using global variables or system variables.
A distinction is made between global and local variables:
Once a variable has been declared, it can be changed, assigned to an input or output directly in the program, or it can be assigned to groups of variables, e.g. ARRAYs or data unit types. For complex control procedures, you can also create recipes.
Cross–reference lists help you to keep track of all variables and their uses in the program.