Hi Simon ...
from a conceptual perspective, and without diving into specific system implementation details:
Globally declared variables in SIMATIC AX (as of this writing this) are stored within the "TGlobalVariablesDB" Datablock, leveraging an optimized data layout.
In contrast, globally declared Memory, Timer/Counter (T/C), and I/Q variables in SIMATIC AX are defined within their respective memory layers. Consequently, they are NOT stored in the generalized "TGlobalVariablesDB".
However : It is anticipated that these variables will be in the same locations on the PLC after download, as TIA Portal loads them into the M, T/C, and I/Q areas respectively.
Greetings
Keep going & happy coding ...
🐱💻 BEEP, BOOP, BEEP, BEEP, BOOP 🐱🏍