→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 |
VAR_TEMP ... END_VAR |
||
→functions and →methods |
VAR_TEMP ... END_VAR,VAR ... END_VAR |
"Declaration of temporary 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 ,) .