-

Inserting Variables in ST

While editing your ST code worksheet, variables can be inserted that are already declared or a new variable can be inserted and declared in one step.

The tooltip of a variable in the ST editor shows its name, data type and, if defined in the variables table, the user-defined comment.

What do you want to do?

Insert an already declared variable

Insert and declare a new variable

Go to variable definition / user-defined function block

Assign a global variable to a process data item

Editing the properties of the variable at the cursor position or marked variable