NC0051: VAR_GLOBAL

Configuration of a prefix for a variable declaration between the keywords VAR_GLOBAL and END_VAR.

Sample declaration:

For the following declaration of a global variable, the prefix configured for NC0051 is used for the formation of the overall prefix, compliance with which is checked during execution of the static analysis.

VAR_GLOBAL
    gbErrorAcknowledge : BOOL;
END_VAR

Please note: The description of NC0051: VAR_GLOBAL applies to the following scopes of variable declarations.