App-7
IM 04L20A01-01E
Appendix
App
Four arithmetical computations
The types of data that can be used in equations are measured data, computed data,
constants (K01 to K30), communication interface data (C01 to C12), and the remote
control terminal conditions (D01 to D08).
EXAMPLE:
Addition (+): 01+02
Computes the measured value of channel 1 plus the measured value of channel 2
Subtraction (–): 01-02
Computes the measured value of channel 1 minus the measured value of channel 2
Multiplication (
): 01 K03
Computes the measured value of channel 1 multiplied by constant K03
Division (/): 01/K02
Computes the measured value of channel 1 divided by constant K02
Note
When you set an expression as e.g. 31 + 01 on channel 31, the summation of channel
number 1 will be displayed in channel 31.
Power, SQR, ABS, LOG, EXP Computations
The types of data that can be used in equations are measured data, computed data,
constants (K01 to K30), communication interface data (C01 to C12), and the remote
control terminal conditions (D01 to D08). You can nest a computing element inside the
parentheses of another computing element.
EXAMPLE:
Power (
): 01 02
Raises measured value of channel 1 to the power of measured value of channel 2
Square root (SQR): SQR (01)
Returns the square root of the measured value of channel 1
Absolute value (ABS): ABS (01)
Returns the absolute value of the measured value of channel 1
Logarithm (LOG): LOG (01)
Returns the common logarithm of the measured value of channel 1
Exponent (EXP): EXP (01)
Raises e to the power of the measured value of channel 1
Note
The natural logarithm is not directly provided, but can be obtained by using the following:
log
e
x = log
10
x/log
10
e as log
b
x = log
a
x/log
a
b
Therefore, to calculate the natural logarithm of the value of channel 01, set K01 = 1.
Then the expression will become: LOG (01)/LOG (EXP(K01))
Appendix 2 Meaning and Syntax of Equations