Changing the section of a local variable
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.
- Start editing the real-time application.
- In the menu bar, click Program.
- In the local variables table, double-click the Section list box of the local variable you want to change.
- In the drop-down list, select the new section.