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

  • 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 526
14–14 RSView32 User’s Guide
Example: Bitwise operators
For these examples tag1 = 5 (binary 0000 0000 0000 0101),
tag2 = 2 (binary 0000 0000 0000 0010)
tag1 & tag2
Returns 0 (binary 0000 0000 0000 0000).
tag1 | tag2
Returns 7 (binary 0000 0000 0000 0111).
tag1 ^ tag2
Returns 7 (binary 0000 0000 0000 0111).
tag1 >> 1
Returns 2 (binary 0000 0000 0000 0010).
tag1 << 1
Returns 10 (binary 0000 0000 0000 1010).
~ tag1
Returns -6 (binary 1111 1111 1111 1010).
Built–in functions
The types of built–in functions are:
tag
time
file
math
security
Vue de la page 526
1 2 ... 522 523 524 525 526 527 528 529 530 531 532 ... 768 769

Commentaires sur ces manuels

Pas de commentaire