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.

You can extend input variables with an attribute keyword.

Example:

VAR_INPUT
    nIn1 : INT; //1st input variable
END_VAR

See also: