Rockwell Automation FactoryTalk Historian SE DataLink 4.2 User Guide User Manual
Page 100

●
●
●
●
●
FactoryTalk Historian DataLink User Guide
92
Type
Operator Syntax Example Meaning
Arithmetic
+
A + B
Addition: A + B
-
A - B
Subtraction: A minus B
*
A * B
Multiplication: A times B
/
A / B
Division: A divided by B
^
A ^ B
Raising to a power: A to the power of B (AB)
Mod
A mod B
Modulus: the remainder of A divided by B
Relational
<
A < B
Less than: returns true if A is less than B
=
A = B
Equal to: returns true if A equal to B
>
A > B
Greater than: returns true if A is greater than
B
<=
A <= B
Less than or equal to: returns true if A is less
than or equal to B
<>
A <> B
Not equal to: returns true if A is not equal to
B
>=
A >= B
Greater than or equal to: returns true if A is
greater than or equal to B
Prefix
Not
NOT A
Complementation: returns true if A is 0 and
False otherwise
-
- A
Negation (as prefix operator): returns the
negative of A
Conjunction,
Disjunction
and Inclusion
And
A and B
Conjunction: returns true if operands A & B
both evaluate to true. If both A and B are
integers, returns the result of a bitwise AND
operation.
Or
A or B
Inclusive disjunction: returns true if either
operand A or operand B evaluates to true. If
both A and B are integers, returns the result
of a bitwise OR operation.
in ..
A in B..D
Membership in a range: returns true if the
value of A is between B and D
in ( )
A in (B1, B2,
Membership in a discrete set: returns true if
the value of A matches any of the values