Changing the section of a local variable

  1. The section defines the usage of a local variable.VAR
    The variable keeps its value after the containing Program Organisation Unit has been executed.
    VAR_IN
    The variable value is externally supplied and can not be modified inside the Program Organisation Unit.
    VAR_OUT
    The Program Organisation Unit provides the variable value to external entities.
    VAR_TEMP
    The variable is newly initialised with its initial value, whenever the containing Program Organisation Unit is executed.
  1. Start editing the real-time application.
  2. In the menu bar, click Program.
  3. In the local variables table, double-click the list box Section of the local variable you want to change.
  4. In the drop-down list, select the new section.