Expressions are a combination of values, constants, tags, operators, and functions that are interpreted according to the particular rules of precedence and produce a value. Expressions in Logix either evaluate to a number (numerical expression) or a true or false state (BOOL expression). Parentheses, (), can be used to control the order of operation, just as they would in any mathematical equation.
The following table lists the order of operation in Logix:
Operation |
Order |
Parentheses—() |
1 |
Instructions—function(…) |
2 ... |