App index – Yokogawa µR10000 User Manual
Page 190

9-7
IM 04P01B01-01E
Operat
ons
Related
to
the
Computat
on
Funct
on
(/M1
Opt
on)
9.2 Settng the Computng Equaton
1
2
3
4
5
6
7
8
9
10
11
12
App
Index
OR
Logical sum
(Syntax) e1ORe2
(Condition) If the two data values e1 and e2 are both zeroes, the computed result is
“0.” Otherwise, it is “1.”
(Explanation) e1 = 0
→
e1ORe2 = 0
e2 = 0
e1 ≠ 0
→
e1ORe2 = 1
e2 = 0
e1 = 0
→
e1ORe2 = 1
e2 ≠ 0
e1 ≠ 0
→
e1ORe2 = 1
e2 ≠ 0
XOR
Exclusive OR
(Syntax) e1XORe2
(Condition) If the two data values e1 and e2 are zero and non-zero or non-zero and
zero, the computed result is “1.” Otherwise, it is “0.”
(Explanation) e1 = 0
→
e1XORe2 = 0
e2 = 0
e1 ≠ 0
→
e1XORe2 = 1
e2 = 0
e1 = 0
→
e1XORe2 = 1
e2 ≠ 0
e1 ≠ 0
→
e1XORe2 = 0
e2 ≠ 0
NOT
Logical negation
(Syntax) NOTe1
(Condition) The result is the inverse of the status of data e1 (zero or non-zero).
(Explanation) e1 = 0 →
NOTe1 = 1
e1 ≠ 0 →
NOTe1 = 0
Equaton Example
01-02OR03.GT.04
Determines the OR of the computed results of “01-02” and “03.GT.04”.