With
you can remove unused variables from the POU headers listed in the POU pool and/or from the global variable list. However, you can only delete unused variables in the POU headers and/or in the global variable list if they have not been used in the respective POU bodies.You can choose the following options:
Delete |
Explanation |
---|---|
Unused local variables |
All local variables of the POU headers will be deleted if they are not used in the respective POU bodies. |
Unused external variables |
All variables that are declared as external variables of the POU headers will be deleted if they are not used in the respective POU bodies. |
Unused global variables |
All variables from the global variable list will be deleted if they are not used in any POU headers. |
POUs in user libraries are not taken into consideration.
Default setting: Deletion of all variables in all POUs.