Input Variables - VAR_INPUT
Input variables are input variables for a function block.
VAR_INPUT variables are declared in the declaration part of programming objects between the keywords VAR_INPUT and END_VAR. When called, only the value is transferred (pass-by-value).
You can extend input variables with an attribute keyword.
Sample:
VAR_INPUT
nIn1 : INT; //1st input variable
END_VAR
See also: