Global / Local Memory – Driver

This type of connection can be used to store various side information about your project, to store auxiliary variables, or to develop a demo project, as this type of connection can serve as a “virtual PLC”.

Global Memory

Global memory is a type of memory that is stored on the server, which means if you create a variable that belongs to the global memory connection, this variable will be the same on every client that displays HMI.

Example: If one client stores something in global memory, the other client will see it as well—it’s shared.

Local Memory

Local Memory is stored locally in the client’s browser (Inside the browser cache), and only the clients see it. It’s not shared with other clients as it’s stored locally in the browser.

Data TypeExample
NumberInt, Float, Bool, Date,…
StringString
UDTUser-Defined-Datatype

Did you know?

Global and Local memory has an option to be “persistent.” If this option is not checked, then after turning the server off or restarting it, all the values will start with their initialization values. If this option is checked, then the last stored values will persist after restart, and the values will be kept.

Local Memory

As the local memory is stored in the browser cache if you erase the cache of the browser or open your browser as incognito (Without cache) the previously stored value’s in the local memory won’t be present and the variables will be initialized with their initialization values