Delta RMC151 User Manual
Page 351
5 Programming
parentheses.
=
Equal To (not for
assigning values)
All Data Types
Cannot be used for
assignment.
<>
Not Equal
All Data Types
<=
Less Than or Equal To
REAL, DINT
<
Less Than
REAL, DINT
>
Greater Than
REAL, DINT
>=
Greater Than or Equal To
REAL, DINT
AND
Logical and Bitwise AND
DWORD, DINT,
BOOL
The data types of the
operands must match.
OR
Logical and Bitwise OR
DWORD, DINT,
BOOL
The data types of the
operands must match.
NOT
Logical and Bitwise NOT
DWORD, DINT,
BOOL
The data types of the
operands must match.
XOR
Logical and Bitwise
Exclusive OR
DWORD, DINT,
BOOL
The data types of the
operands must match.
[
Opening bracket for
indexing item in an array,
e.g. MyVar[i] or
_Axis[0].ActPos.
All Data Types
The number of opening
brackets must match the
number of closing brackets.
]
Closing bracket for
indexing item in an array,
e.g. MyVar[i] or
_Axis[0].ActPos.
All Data Types
The number of opening
brackets must match the
number of closing brackets.
**
Exponentiation
REAL
Example: 3**6 is three to the
sixth power.
If you are calculating
polynomials, consider using
the POLY function.
Order of Precedence
Precedence Operation
Symbol
HIGHEST
Parenthesization
(expression)
Function
Evaluation
identifier(argument
list)
ln(a), max(x,y) etc.
Negation
Complement
-
NOT
Exponent
**
Multiply
Divide
Modulo
*
/
MOD
Add
Subtract
+
-
Comparison
< , > , <= , >=
deltamotion.com
331