Beta 1742A Uživatelský manuál Strana 343

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 520
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 342
1 2 ... 338 339 340 341 342 343 344 345 346 347 348 ... 519 520

Komentáře k této Příručce

Žádné komentáře