Basic arithmetic, Power and other operations, Relational computation – Yokogawa Button Operated MV2000 User Manual

Page 222

Advertising
background image

10-8

M-4660

Basic Arithmetic

Expression Example

• Addition 001+002
(Determines the sum of the measured values of channel 1 and channel 2)
• Subtraction 001–002
(Determines the difference between the measured values of channel 1

and channel 2)

• Multiplication 001*K03
(Multiplies the measured value of channel 1 by constant K03)
• Division 001/K02
(Divides the measured value of channel 1 by constant K02)

Power and Other Operations

Expression Example

• Power 001**002
(Determines the measured value of channel 1 to the power of the

measured value of channel 2)

• Square root SQR(002)
(Determines the square root of the measured value of channel 2)
• Absolute value ABS(002)
(Determines the absolute value of the measured value of channel 2)
• Common logarithm LOG(001)
(Determines the common logarithm (log

10

) of the measured value

of channel 1)

• Natural logarithm LN(001)
(Determines the natural logarithm of the measured value of

channel 1)

• Exponent EXP(001)
(Determines e to the power of the measured value of channel 1)

Relational Computation

Expression Example
002.LT.003

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 zero.

002.GT.003

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 zero.

002.EQ.003

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 zero.

002.NE.003

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 zero.

002.GE.003

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 zero.

002.LE.003

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 zero.

10.2 Writing Expressions

Advertising
This manual is related to the following products: