Omega RD100B User Manual

Page 163

Advertising
background image

9-6

Relational Computation

The data that can be used in equations are measured values, computed values,

constants, communication input data, and remote control input terminal status. You can

specify a computing equation that performs relational computation on a computing

element. (Example: 01.LT.ABS(02))

Equation Examples

02.LT.03

If the measured value of channel 2 is less than the measured value of channel 3, the

computed result is “1.” Otherwise, the result is “0.”

02.GT.03

If the measured value of channel 2 is greater than the measured value of channel 3, the

computed result is “1.” Otherwise, the result is “0.”

02.EQ.03

If the measured value of channel 2 is equal to the measured value of channel 3, the

computed result is “1.” Otherwise, the result is “0.”

02.NE.03

If the measured value of channel 2 is not equal to the measured value of channel 3, the

computed result is “1.” Otherwise, the result is “0.”

02.GE.03

If the measured value of channel 2 is greater than or equal to the measured value of

channel 3, the computed result is “1.” Otherwise, the result is “0.”

02.LE.03

If the measured value of channel 2 is less than or equal to the measured value of

channel 3, the computed result is “1.” Otherwise, the result is “0.”

Logical Computation

Checks whether the two data values, e1 and e2 (e1 only for NOT), are zeroes or non-

zeroes, and computes according to the conditions. The data that can be used in

equations are measured values, computed values, constants, communication input data,

and remote control input terminal status. You can specify a computing equation that

performs logical computation on a computing element.

AND

Logical Product

(Syntax)

e1ANDe2

(Condition)

If the two data values e1 and e2 are both non-zeroes, the computed

result is “1.” Otherwise, it is “0.”

(Explanation)

e1 = 0

e1ANDe2 = 0

e2 = 0

e1 ≠ 0

e1ANDe2 = 0

e2 = 0

e1 = 0

e1ANDe2 = 0

e2 ≠ 0

e1 ≠ 0

e1ANDe2 = 1

e2 ≠ 0

9.2 Setting the Computing Equation

Advertising