ABB COM600 series Data Historian Operator's Manual page 68

Distribution automation controller
Hide thumbs Also See for COM600 series:
Table of Contents

Advertisement

68
COM600 series, Version 5.0
Data Historian Operator's Manual
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.
1MRS756739

Advertisement

Table of Contents
loading

Table of Contents