Declaration of external variables in ST
Syntax |
---|
|
Meaning |
---|
declaration of one or more →external variables, Providing the optional keyword
|
Good to know |
---|
Moreover, Neuron Power Engineer allows you to specify additional data for the declaration. See "Defining description, comment, JSON string or type for variables or data types" for details. If you prefer that Neuron Power Engineer is creating the syntax for you: The application navigator provides the possibility to declare external variables and to have the declarations based on the already existing global variables. This is done when you drag the global variables from a global-object onto a →POU. Details: See "Declaring external variables by dragging and dropping global variables into POUs". In this case, you do not need to know the syntax described above.
Within a section |
Example 1 |
---|
|
Example 2 |
---|
|