All variables to be used only in this POU are declared in the declaration part of the POU. These can include: input variable, output variable , input/output variables, local variables, remanent variables and constants. The declaration syntax is based on the IEC61131-3 standard.
⮫ “Input and output variables”
Regard the possibility of using templates for objects of type 'Global Variables', 'Data types', 'Function', 'Function Block' or 'Program'.
Regard the possibility of using pragmas to affect the properties of a variable concerning the compilation resp. precompilation process.
An example of a correct declaration of variables in the editor:
-
Recommendations on the naming of identifiers
