Attribute 'Tc2GvlVarNames'
The pragma has the effect that symbols, which are declared in a GVL, are addressed via ADS just like in TwinCAT 2 (without the use of the GVL name as namespace).
Syntax: {attribute ‘Tc2GvlVarNames‘}
Sample:
{attribute 'Tc2GvlVarNames'}
VAR_GLOBAL
Test : INT;
END_VAR
GVL.Test:=GVL.Test+1; (*without attribute*)
Test:=Test+1; (*with attribute*)