Rockwell-automation FactoryTalk View Machine Edition Users Guide Instrukcja Użytkownika Strona 490

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 677
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 489
FACTORYTALK VIEW MACHINE EDITION USERS GUIDE
23-12
• • • • •
Examples: Evaluation order
For these examples, tag1 = 5, tag2 = 7, and tag3 = 10.
_____________________________
(tag1 > tag2) AND (tag1 < tag3)
is evaluated in this sequence:
1. tag1 > tag2 = 0
2. tag1 < 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).
Przeglądanie stron 489
1 2 ... 485 486 487 488 489 490 491 492 493 494 495 ... 676 677

Komentarze do niniejszej Instrukcji

Brak uwag