Delete Variables from the Variable Selector
Deleting variables from the
Variable
Selector
also removes these variables from the dictionary instance for the program, controller, or device.
IMPORTANT:
The preferred method to create variables is from dictionary instances to avoid potential mistakes like inserting a variable in an unintended scope.
To delete a variable
- Access theVariableSelectorby doing one of the following:
- For graphical POUs (FBD or LD), drag an element requiring the selection of a variable, like a variable, coil, or contact. TheVariableSelectordisplays (when theAutomaticallyinvoketheVariable/BlockSelectoroption is set to True). Also double-click an element in the language container to invoke theVariableSelector.
- For textual POUs (ST), right-click in the language container, and then clickVariableSelector(Ctrl+I).
- When mapping variables for communication protocols, clickAddVariableor
.
In the variables grid, right-click the variable to delete, and then click
Delete
.Provide Feedback