Beta 1742A Manual do Utilizador Página 343

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 520
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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.
Vista de página 342
1 2 ... 338 339 340 341 342 343 344 345 346 347 348 ... 519 520

Comentários a estes Manuais

Sem comentários