Output VariableΒΆ

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.

Example:

VAR_OUTPUT

iOut1:INT; (* 1. Outputvariable*)

END_VAR