Object: GVL – Global Variable List Permalink

Symbol: _cds_icon_gvl.png

A global variable list is used for the declaration, editing, and display of ⮫ global variables.

You click “Project  Add Object  Global Variable List” to add a GVL to the application or the project.

When you insert a GVL below an application in the device tree, the variables apply within this application. When you add a GVL in the ‎POUs‎ view, the variables apply for the entire project.

You can apply settings for the editor of the object in the “Tools  Options” dialog, in the “Declaration Editor” and “Text Editor” categories.

If the target system supports network functionality, then you can convert the variables of a GVL into network variables and then use them for data exchange with other devices in the network. To do this, you have to define corresponding properties for the GVL in the “Network Variables” tab of the “Properties” dialog.