Lenze DDS v2.3 Bedienungsanleitung Seite 26

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 340
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 25
Drive PLC Developer Studio
Program example
3-4
l
DDS EN 2.3
ThestatusofthevariableSTATE is used to switch the output variables for the associated light colour:
Traffic light phase Input variable Output variables
STATE RED AMBER GREEN OFF
Green 1 FALSE FALSE TRUE FALSE
Amber 2 FALSE TRUE FALSE FALSE
Red 3 TRUE FALSE FALSE FALSE
Amber/red 4 TRUE TRUE FALSE FALSE
Off 5 FALSE FALSE FALSE TRUE
The declaration part of the function block TRAFFICLIGHT nowlooksasfollows:
3.2.5.2 Function block diagram
Now use the input variable STATE of the organization unit to determine the values of the output
variables.
9. In the lower half of the editor window for the organization unit TRAFFICLIGHT, click the field
to the left of the first network (grey field with number 1) to select the network.
10.Select Insert
Operator.
A box with the operator AND and two inputs is inserted in the first network:
11.Click AND and change the text to EQ.
12.Select the text ??? of the upper input and enter the variable STATE .
13.Select the three bottom question marks and name the input 1.
Show/Hide Bookmarks
Seitenansicht 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 339 340

Kommentare zu diesen Handbüchern

Keine Kommentare