→Global variable
according to →IEC-standard: →variable whose →scope is global
Access to a global variable is done by using →external variables. A global variable is also known as VAR_GLOBAL
due to its respective →keyword.
logi.CAD 3 supports declaration/usage of global variables in these languages (according to IEC-standard):
language | details under |
---|---|
Declaration of global variables in ST | |
→FBD, incl. →SFC | |
→LD | Declaring variables in LD and assigning a variable to contact/coil |
Other useful information are listed under "Declaring global variables for resource or configuration and using them".