Yokogawa Button Operated MV2000 Manual de usuario Pagina 228

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 310
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 227
10-8
IM MV1000-01E
Logical Computation
Checks whether the two data values, e1 and e2 (e1 only for NOT), are zero or nonzero,
and computes according to each condition.
AND
Logical product
(Syntax) e1ANDe2
(Condition) If the two data values e1 and e2 are both nonzero, the computed result
is 1. Otherwise, it is zero.
(Explanation) e1 = 0, e2 = 0
e1ANDe2 = 0
e1 ≠ 0
, e2 = 0 e1ANDe2 = 0
e1 = 0, e2 ≠ 0 e1ANDe2 = 0
e1 ≠ 0, e2 ≠ 0 e1ANDe2 = 1
OR
Logical sum
(Syntax) e1ORe2
(Condition) If the two data values e1 and e2 are both zero, the computed result is
zero. Otherwise, it is 1.
(Explanation) e1 = 0
, e2 = 0 e1ORe2 = 0
e1 ≠ 0, e2 = 0 e1ORe2 = 1
e1 = 0, e2 ≠ 0 e1ORe2 = 1
e1 ≠ 0, e2 ≠ 0 e1ORe2 = 1
XOR
Exclusive OR
(Syntax) e1XORe2
(Condition) If the two data values e1 and e2 are zero and nonzero or nonzero and
zero, the computed result is 1. Otherwise, it is zero.
(Explanation) e1 = 0
, e2 = 0 e1XORe2 = 0
e1 ≠ 0, e2 = 0 e1XORe2 = 1
e1 = 0, e2 ≠ 0 e1XORe2 = 1
e1 ≠ 0, e2 ≠ 0 e1XORe2 = 0
NOT
Logical negation
(Syntax) NOTe1
(Condition) The result is the inverse of the status of data e1 (zero or nonzero).
(Explanation) e1 = 0 NOTe1 = 1
e1 ≠ 0 NOTe1 = 0
Expression Example
01-02OR03.GT.04
Determines the OR of the computed results of “01-02” and “03.GT.04”.
10.2 Writing Expressions
Vista de pagina 227
1 2 ... 223 224 225 226 227 228 229 230 231 232 233 ... 309 310

Comentarios a estos manuales

Sin comentarios