Lenze PLC Designer PLC Designer (R2-x) Manuel d'utilisateur Page 470

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 844
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 469
L-force | PLC Designer
IEC Operators and additional norm extending functions
468 DMS 3.2 EN 02/2011 TD29
9.3.3 XOR
PLC Designer IEC operator: Bitwise XOR of bit operands. The operands should be of the
type BOOL, BYTE, WORD or DWORD.
Note!
Regard the behaviour of the XOR function in extended form, that means if there are
more than 2 inputs. The inputs will be checked in pairs and the particular results
will then be compared again in pairs (this complies with the standard, but may not
be expected by the user).
Example in IL:
Var1 :BYTE;
LD 2#1001_0011
XOR 2#1000_1010
ST Var1 (* Result is 2#0001_1001 *)
Example in ST:
Var1 := 2#1001_0011 XOR 2#1000_1010
Example in FBD:
9.3.4 NOT
PLC Designer IEC operator: Bitwise NOT of a bit operand. The operand should be of the
type BOOL, BYTE, WORD or DWORD.
Example in IL:
Var1 :BYTE;
LD 2#1001_0011
NOT
ST Var1 (* Result is 2#0110_1100 *)
Vue de la page 469
1 2 ... 465 466 467 468 469 470 471 472 473 474 475 ... 843 844

Commentaires sur ces manuels

Pas de commentaire