Lenze DDS v2.3 Bedienungsanleitung Seite 133

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 340
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 132
Drive PLC Developer Studio
Editors
7-11
l DDS EN 2.3
7.2.1 Declaration part
The declaration part of an organization unit declares all variables locally.
These may be
input variables,
output variables,
input / output variables,
local variables,
retentive variables,
constants
and retentive constants.
The declaration syntax is based on the IEC 61131-3 standard.
7.2.1.1 Declaration keywords
Icon: - Menu: InsertWDeclaration k eywords Keyboard: -
Use this command to open a list of all keywords available for use in the declaration part of an
organization unit.
The keyword will be inserted at the current cursor position once it has been selected and
confirmed.
The list will also be displayed when calling the Help Manager and selecting the category
Declarations
.
7.2.2 Input variables
Between the keywords VAR_INPUT and END_VAR, all variables are declared that are used as input
variables for an organization unit.
The values of these variables can be transferred from the calling unit.
Example:
VAR_INPUT
in1:INT; (* 1. input variable *)
END_VAR
Input variables can be used to transfer data from the calling to the called organization unit.
7.2.3 Output variables
Between the keywords VAR_OUTPUT and END_VAR, all variables are declared that are used as
output variables for an organization unit.
The values of these variables are returned to the calling organization unit for further use.
Example:
VAR_OUTPUT
out1:INT; (* 1. output variable *)
END_VAR
Show/Hide Bookmarks
Seitenansicht 132
1 2 ... 128 129 130 131 132 133 134 135 136 137 138 ... 339 340

Kommentare zu diesen Handbüchern

Keine Kommentare