Skip to main content

GVL Editor

The editor for Global Variable Lists (Safety) is a declaration editor for the creation and editing of global variable lists.

Figure 33. GVL editor
GVL editor


. The editor consists of two sections:
  • Display of the pin information of the safety application (or In work) if the object version deviates from the pinned version or if the safety application has not been pinned yet.

    For more information, see: Editor of the Safety Application Object

  • Table for the variable declaration with the columns: Line, Scope, Name, Type, Initial value, and Comment

. Scope for global variables
  • VAR_GLOBAL

  • VAR_GLOBAL CONSTANT

. Data types for global variables
  • BOOL

  • DINT

  • INT

  • SAFEBOOL

  • SAFEDINT

  • SAFEINT

  • SAFETIME

  • SAFEWORD

  • TIME

  • WORD

For information on commenting out variables, see: Toggle network comment state

For more information about the variable declaration editor, the changing of variables, and change markings, see: Variable Declaration Editor and Insert Variable Declaration

Tip

Variables declared in a GVL are available in the input assistant of the safety application under the "Global variables" category and are automatically declared as VAR_EXTERNAL or VAR_EXTERNAL CONSTANT when inserted in the POU via the input assistant.