Four arithmetic operation, Power and other computations, Relational computation – Yokogawa Removable Chassis DX1000N User Manual
Page 250
9-6
IM 04L41B01-01E
Four Arithmetic Operation
Expression Example
• Addition
001+002
(Determines the sum of the measured values of channel 1 and channel 2.)
• Subtraction 001–002
(Determines the difference of the measured values of channel 1 and
channel 2.)
• Multiplication 001*K03
(Multiplies constant K03 to the measured value of channel 1.)
• Division
001/K02
(Divides the measured value of channel 1 by constant K02.)
Power and Other Computations
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 “0.”
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 “0.”
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 “0.”
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 “0.”
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 “0.”
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 “0.”
9.2 Writing Expressions