![ABB COM600 series Data Historian Operator'S Manual Download Page 68](http://html.mh-extra.com/html/abb/com600-series/com600-series_data-historian-operators-manual_2681068.webp)
•
rem(x, y) = returns the remainder of x divided by y
•
round(x) = rounds x to closest integer value
•
rounda(x, y) = rounds x to y decimals, away from zero
•
rounde(x, y) = rounds x to y decimals, to even
•
sign(x) = returns 1 or -1 depending on the sign of the number
•
sin(x) = sine of x
•
sinh(x) = hyperbolic sine of x
•
sqrt(x) = square root of x
•
tan(x) = tangent of x
•
tanh(x) = hyperbolic tangent of x
•
truncate(x) = truncates the decimal part of the x away
Using the WHEN Filter
The WHEN Filter can be used for conditional fetch of values. The filter returns the
requested values, when conditions given as arguments are greater than zero.
Syntax: WHEN(Class=...;Property1=...;Property2=...; ...etc... PropertyN=...;xProp-
erty=...;yProperty=...;Filter=...)
No argument is compulsory. There can be 0-N properties of the given class used as
conditions. Default value for "Class" is "ProcessHistory", which is used, if the "Class"
argument is left empty. Available classes are the same as the sources for a trend. Properties
are the same as the properties for the trend sources. For example, a first property can be
"Variable" and a second property can be "History" for the "ProcessHistory" class. Filter
can be any valid filter operation.
Example use 1:
WHEN(Class=ProcessHistory;Variable=SYS_CPU_TotalTime;xProperty=Time;yProp-
erty=Value;Filter=CALC(y>20))
The clause above returns the "CPU Total time" variable's values when the value is greater
than 20.
Example use 2:
WHEN(Variable=SYS_CPU_TotalTime;Filter=CALC(y>20))
Returns the same values as Example 1, as the only difference is the lack of default values.
68
1MRS756739
COM600 series, Version 5.0
Data Historian Operator's Manual
Summary of Contents for COM600 series
Page 1: ... COM600 series Version 5 0 Data Historian Operator s Manual ...
Page 2: ......
Page 6: ...6 ...
Page 132: ...132 ...
Page 136: ...136 ...
Page 137: ......
Page 138: ......
Page 139: ......