Input Variables - VAR_INPUTΒΆ

Input variables are used at the inputs of function blocks.

VAR_INPUT variables are declared between the keywords VAR_INPUT and END_VAR in the declaration section of programming objects.

You can extend input variables with an attribute keyword.

Example

VAR_INPUT
    iIn1 : INT; (* 1st input variable *)
END_VAR

See also