Local Variables

Between the keywords VAR and END_VAR, all of the local variables of a POU are declared. These have no external connection; in other words, they can not be written from the outside.

Example:

VAR
 iLoc1:INT; (* 1. Local Variable*)
END_VAR