Rockwell-automation 9301 Series RSView32 Users Guide Manual do Utilizador Página 537

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 769
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 536
14–24 RSView32 User’s Guide
1. tag1 > tag2 = 0
2. tag 1 < tag3 = 1
3. 0 AND 1 = 0
The expression evaluates to 0 (false).
_____________________________
tag1>tag2 AND tag3
is evaluated in this sequence:
1. tag2 AND tag3 = 1
2. tag1 > 1 = 1
The expression evaluates to 1 (true).
_____________________________
NOT tag1 AND tag2 > tag3 ** 2
is evaluated in this sequence:
1. NOT tag1 = 0
2. 0 AND tag2 = 0
3. tag3 ** 2 = 100
4. 0 > 100 = 0
The expression evaluates to 0 (false).
If–then–else
If–then–else expressions carry out an action conditionally or branch
actions depending on the statements in the expression. The if–then
Vista de página 536
1 2 ... 532 533 534 535 536 537 538 539 540 541 542 ... 768 769

Comentários a estes Manuais

Sem comentários