Lenze DDS v2.3 Bedienungsanleitung Seite 192

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 340
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 191
Drive PLC Developer Studio
Resources
8-2
l
DDS EN 2.3
8.1 Global variables
The tab card Resources in the
Object Organizer
contains the global variable list (Global_Variables)
in the folder Global variables.
All variables defined in this object are known throughout the entire project.
Double-click the object Global_Variables to open and edit the variable list.
Global variables
Normal global variables are defined in an object between the keywords VAR_GLOBAL and END_VAR:
VAR_GLOBAL
(* Variable declarations *)
END_VAR
Retentive global variables
Retentive global variables are assigned the additional keyword RETAIN:
VAR_GLOBAL RETAIN
(* Variable declarations *)
END_VAR
Global constants
Global constants are assigned the additional keyword CONSTANT:
VAR_GLOBAL CONSTANT
(* Variable declarations *)
END_VAR
Retentive global constants
Retentive global constants are assigned the additional keyword CONSTANT RETAIN:
VAR_GLOBAL CONSTANT RETAIN
(* Variable declarations *)
END_VAR
8.1.1 Several variable lists
If a large number of global variables has been declared, and the global variable list is to be structured
better, the setup supports the generation of additional variable lists.
1. Open the
Object Organizer
and select the folder
Global variables
or one of the existing
objects with global variables.
2. Execute menu command Project
Insert object.
3. Name the object in the dialog box.
This will create a new object with the keyword VAR_GLOBAL.
Show/Hide Bookmarks
Seitenansicht 191
1 2 ... 187 188 189 190 191 192 193 194 195 196 197 ... 339 340

Kommentare zu diesen Handbüchern

Keine Kommentare