GVLs (global variable lists)

Global variables are available for the entire project. Global variables are declared in a global variable list under GVLs.

Several global variable lists are allowed in the GVL pool of the project. In user libraries, only one GVL is allowed. You can copy and paste global variables between different lists. If an identifier already exists in a global variable list, _copy1, _copy2... will be appended to the existing identifier. You can delete all global variable lists from the project except for one list, which is mandatory for each project.

Global variables can be transferred from a global variable list to a POU header. They can be declared very comfortably in the POU body (using LD/FBD, ST/IL or SFC). Or use the declaration editor to create global variables.

Do not assign addresses unless you have to! Provide addresses for PLC inputs and outputs (X, Y) or if access to certain memory areas is required. The compiler automatically assigns addresses after the power has been turned on. This prevents errors caused by duplicate outputs and ensures that the addresses are automatically updated when the PLC type is changed. The following variables must be declared in the global variable list:

You can enter addresses in one of the following formats:

Related topics:

Modified on: 2025-07-09Feedback on this pagePanasonic hotline