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
To open the variable selector from the language editor
  1. In
    Project Organizer
    , locate the POU, and then double-click the POU.
  2. In the language editor, do one of the following:
    • Double-click the variable, and then select Variable selector drop-down.
    • Right-click the variable, and then select
      Select variable
      .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal