Use the Modify variable command to change the properties of an existing variable. Modifying the identifier of the variable will create a new variable.
The following procedure requires that the Variables pane be opened.
- Use the sorting and filter settings to expedite programming
- Select the variable you want to modify
- Select Modify variable from the context menu
- Modify the current settings in the dialog
- After modifying the identifier select OK
Updating all POUs automatically
- Select Auto update of changed declarations under to globally adopt changes made to variables in the global variable list or in POU headers. The changes will be adopted in all POU headers and POU bodies of the current project in which the variables are used. All changes take effect as soon as you save the changes in the global variable list or in the POU header.
NOTE
Global variables must be changed in the global variable list. Otherwise, auto-update has no effect.
Related topics: