→Temporary variable

→variable whose value is stored temporary, thus it is not stored from one →call to the next one

Compare: →static variable

Depending on the type of the →POU, temporary variables are:

Type of POU

Variables from the section

Information on ST-syntax provided under

→function blocks and
→programs

VAR_TEMP ... END_VAR

"Declaration of temporary variables in ST"

→functions and →methods

VAR_TEMP ... END_VAR,VAR ... END_VAR

"Declaration of temporary variables in ST",
"Declaration of internal variables in ST"

logi.cals recommends for functions and methods to declare temporary variables within the section VAR ... END_VAR (instead within section VAR_TEMP ... END_VAR ,) .