Beta 1742A Instrukcja Użytkownika Strona 343

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 520
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 342
12-14 Motion Mate DSM314 for Series 90-30 PLCs User's Manual
January 2001 GFK-1742A
12
Operator BWOR
The BWOR operator returns the bitwise or on source1 and source2.
Syntax 1
destination := source1 BWOR source2;
Syntax 2
IF source1 BWOR source2 THEN
The BWOR operator syntax has these parts:
Part Description
Destination Any writeable local logic variable except Dxx registers.
source1 Any readable local logic variable/constant except Dxx registers.
source2 Any readable local logic variable/constant except Dxx registers.
Remarks
Syntax 1 is used for assignment, syntax 2 is used in a conditional evaluation.
Operator BWXOR
The BWXOR operator returns the bitwise exclusive or of source1 and source2.
Syntax 1
destination := source1 BWXOR source2;
Syntax 2
IF source1 BWXOR source2 THEN
The BWXOR operator syntax has these parts:
Part Description
Destination Any writeable local logic variable except Dxx registers.
source1 Any readable local logic variable/constant except Dxx registers.
source2 Any readable local logic variable/constant except Dxx registers.
Remarks
Syntax 1 is used for assignment, syntax 2 is used in a conditional evaluation.
Przeglądanie stron 342
1 2 ... 338 339 340 341 342 343 344 345 346 347 348 ... 519 520

Komentarze do niniejszej Instrukcji

Brak uwag