Rockwell-automation 9301 Series RSView32 Users Guide Instrukcja Użytkownika Strona 537

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 769
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 536
14–24 RSView32 User’s Guide
1. tag1 > tag2 = 0
2. tag 1 < tag3 = 1
3. 0 AND 1 = 0
The expression evaluates to 0 (false).
_____________________________
tag1>tag2 AND tag3
is evaluated in this sequence:
1. tag2 AND tag3 = 1
2. tag1 > 1 = 1
The expression evaluates to 1 (true).
_____________________________
NOT tag1 AND tag2 > tag3 ** 2
is evaluated in this sequence:
1. NOT tag1 = 0
2. 0 AND tag2 = 0
3. tag3 ** 2 = 100
4. 0 > 100 = 0
The expression evaluates to 0 (false).
If–then–else
If–then–else expressions carry out an action conditionally or branch
actions depending on the statements in the expression. The if–then
Przeglądanie stron 536
1 2 ... 532 533 534 535 536 537 538 539 540 541 542 ... 768 769

Komentarze do niniejszej Instrukcji

Brak uwag