Navigation:  Programming > Structured Text > Concepts >

Variables

Previous pageReturn to chapter overviewNext page

Global variables are declared in the global file, the declaration starting and ending with the keywords VAR_GLOBAL and END_VAR.

 

st_variables_2

 

Local variables are declared in the same file where ST language expressions are implemented. The statement to be wrapped, started and ended with the keywords VAR and END_VAR.

 

st_variables_1

 

wpshelp_common_fig_note

NOTE!

 

There is no differentiation in the use of uppercase and lowercase letters to variables.