Open the variable selector from the language editor
Open the variable selector to navigate between variables of different scopes and assign variables to Program Organization Unit (POU) elements.
By default:
- Opening the variable selector from the language editor of a program displays the local variables of the current program.
- Opening the variable selector from the language editor of a user-defined function or user-defined function block displays the global variables in the project.
Prerequisites
- The POU is not empty.
To open the variable selector from the language editor
- InProject Organizer, locate the POU, and then double-click the POU.
- In the language editor, do one of the following:
- Double-click the variable, and then select
.
- Right-click the variable, and then selectSelect variable.
Provide Feedback