Index – Yokogawa PC-Based MX100 User Manual
Page 51
2-37
IM MX180-01E
Integrat
on Mon
tor
3
2
1
4
5
App
Index
Arthmetc Functons
Below are the arithmetic functions that are available. They are not case-sensitive.
Functon
Descrpton
Example
sin(
Returns the sine of the
sin(ch("TagNo.00001"))
cos(
Returns the cosine of the
cos(ch("TagNo.00001"))
tan(
Returns the tangent of the
tan(ch("TagNo.00001"))
asin(
Inverse sine
asin(ch("TagNo.00001"))
acos(
Inverse cosine
acos(ch("TagNo.00001"))
sinh(
Hyperbolic sine
sinh(ch("TagNo.00001"))
cosh(
Hyperbolic cosine
cosh(ch("TagNo.00001"))
tanh(
Hyperbolic tangent
tanh(ch("TagNo.00001"))
pow(
pow(ch(1),ch(2))
sqrt(
Square root
sqrt(ch(1))
logE(
Natural logarithm
logE(ch(1))
log10(
Common logarithm
log10(ch(1))
expE(
e to the power of
expE(ch(1))
exp10(
10 to the power of
exp10(ch(1))
abs(
Absolute value
abs(ch(1))
max(
max(ch(1),ch(2),ch(3))
specified values
min(
Minimum value among multiple
min(ch(1),ch(2),ch(3))
specified values
pp(
(Maximum – minimum) among multiple
pp(ch(1),ch(2),ch(3))
specified values
sum(
Sum of multiple specified values
sum(ch(1),ch(2),ch(3))
ave(
Average of multiple specified values
ave(ch(1),ch(2),ch(3))
poly(
poly(ch(1),ch(2),ch(3))
Calculates a0xn+a1xn–1+...+anx0
ceil(
Returns the minimum integer greater
ceil(ch(1))
than
floor(
Returns the maximum integer less
floor(ch(1))
than
limit(
If x is outside the range defined by a and b, limit(ch(1),10,20)
round the value to a or b.
rnd()
Returns a random number between 0 and 1 ch(1)*rnd()
IsNaN(
Returns 1 if \value is NaN or 0 if it is not.
IsNaN(ch(1))
2.5 Settng Computatons (Settng the Computaton Channels)