Use the Variables pane to assign variables in the current POU body and to create or modify variables.
Use Variables pane. Shortcut: <F2>
to open theThe main functions are available from the context menu:
The procedures for inserting variables into the POU body vary slightly, depending on the programming editor.
Global variables
Global variables which are inserted into the current POU body are automatically copied into the current POU header.
Move the mouse over a variable to display a tooltip on the variable's properties.
Meaning of the icons
VAR |
|
VAR_INPUT |
|
VAR_OUTPUT |
|
VAR_OUTPUT_RETAIN |
|
VAR_IN_OUT |
|
VAR_GLOBAL |
|
VAR_GLOBAL_CONSTANT |
|
VAR_GLOBAL_RETAIN |
|
VAR_CONSTANT |
|
VAR_EXTERNAL |
|
VAR_EXTERNAL_CONSTANT |
|
VAR_EXTERNAL RETAIN |
|
VAR_RETAIN |
|
System variable |
|
System constants (capitalized name, e.g. SYS_MEMORY_AREA_DT) |