Local variables - var, Input variables - var_input, Output variables - var_output – Lenze PLC Designer PLC Designer (R3-1) User Manual
Page 976: L-force | plc designer

L-force | PLC Designer
Programming Reference
974
DMS 4.1 EN 03/2011 TD29
16.1.10
Local Variables - VAR
Between the keywords VAR and END_VAR all local variables of a POU are declared.
These have no external connection; in other words, they can not be written from the
outside.
Regard the possibility of adding an attribute to "VAR".
Example:
VAR
iLoc1:INT; (* 1. Local Variable*)
END_VAR
16.1.11
Input Variables - VAR_INPUT
Between the key words VAR_INPUT and END_VAR all variables are declared that serve
as input variables for a POU. That means that at the call position, the value of the
variables can be given along with a call.
Regard the possibility of adding an attribute to "VAR_INPUT".
Example:
VAR_INPUT
iIn1:INT (* 1. Inputvariable*)
END_VAR
16.1.12
Output Variables - VAR_OUTPUT
Between the key words VAR_OUTPUT and END_VAR all variables are declared that
serve as output variables of a POU. That means that these values are carried back to
the POU making the call. There they can be answered and used further.
Regard the possibility of adding an attribute to "VAR_OUTPUT".
Example:
VAR_OUTPUT
iOut1:INT; (* 1. Output variable*)
END_VAR