Rockwell-automation FactoryTalk View Site Edition Users Guide Bedienungsanleitung Seite 566

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 696
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 565
FACTORYTALK VIEW SITE EDITION USERS GUIDE
20–20
• • • • •
If the statement is true then the expression returns value1; if the statement is false then the
expression returns value2. Keep in mind that the statement is a mathematical equation and
true means a non-zero value, and false means zero.
Following is an illustration of the ifthenelse structure:
Nested if-then-else
It is common to nest an if-then-else structure inside the then or else part of an if-then-
else structure.
Example 1: Nested if-then-else
This expression:
If statement1 Then value1
Else if statement2 Then value2
Else value3
is interpreted in this way:
value2 value1
enter
statement
exit
true
false
Seitenansicht 565
1 2 ... 561 562 563 564 565 566 567 568 569 570 571 ... 695 696

Kommentare zu diesen Handbüchern

Keine Kommentare