Campbell CSIOPC Especificações Página 134

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 133
Section 9. CR1000 Programming
9-26
TABLE 9.13-1. Binary Conditions of TRUE and FALSE
Condition
CRBASIC
Instruction(s) Used
Memory Location of
Binary Result
Time TimeIntoInterval() Variable, System
IfTime() Variable, System
Control Port Trigger WaitDigTrig() System
Communications VoiceBeg() System
ComPortIsActive() Variable
PPPClose() Variable
Measurement Event DataEvent() System
Using TRUE or FALSE conditions with logic operators such as AND and OR,
logical expressions can be encoded into a CR1000 to perform three general
logic functions, facilitating conditional processing and control applications.
1. Evaluate an expression, take one path or action if the expression is true
(= -1), and / or another path or action if the expression is false (= 0).
2. Evaluate multiple expressions linked with AND or OR.
3. Evaluate multiple and / or links.
The following commands and logical operators are used to construct logical
expressions. EXAMPLE 9.13-5 a - f demonstrate some logical expressions.
IF
AN
D
OR
XOR
IMP
IIF
Vista de página 133
1 2 ... 129 130 131 132 133 134 135 136 137 138 139 ... 321 322

Comentários a estes Manuais

Sem comentários