Rockwell-automation 9301 Series RSView32 Users Guide Manuel d'utilisateur Page 537

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 769
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 536
1 2 ... 532 533 534 535 536 537 538 539 540 541 542 ... 768 769

Commentaires sur ces manuels

Pas de commentaire