Remote RMX-3200 Version 5.2x Configuration Guide
Configuring Event Correlations: Correlation Expression Components
14-4
Examples
Examples of these components combined are shown below:
analog 12/1 high
correlation examplecorr false
measurement ExtTemp1 > 90
Operators
The valid operators that can be used in a correlation expression are listed in the
following table, along with possible usages and example results for each.
Table 14-2 Operators and Usage
Expression Evaluation
In an expression, the precedence order for evaluation is as follows:
1. Term
2. not
3. and
4. or
If a Term is a nested expression, it is fully evaluated as the evaluation of the Term, as
is typical with most programming languages. Nested expressions in parentheses are
supported, allowing complex expressions to be contained in a single correlation
expression. The use of parentheses can improve the readability of expressions which
mix
and, not and or operators.
Operator Usage Example Result
and
expression analog 12/1
high and output 0/16
open
When both expressions are true, the
evaluation is true.
or expression analog 12/1
high or measurement
extTemp > 110
When either expression is true, the
evaluation is true.
not expression not analog
12/1 in-band
When negating a true expression, the
evaluation is false.
all
expression all output
12/1-4 close
When all expressions are true, the
evaluation is true.
any expression any 3 input
0/1-5 close
When at least three (3) expressions are
true, the evaluation is true. If no number is
entered after
any, the default value is 1.