→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 |
---|---|---|
|
||
→functions and →methods |
|
"Declaration of temporary variables in ST", |
Neuron recommends for functions and methods to declare temporary variables within the section VAR ... END_VAR
(instead within section VAR_TEMP ... END_VAR
,) .