omron — Logic and arithmetic operators

Appendix: Built-in Scripting Language Arithemtic operators are resolved from left to right according to the standard order of evaluation. To change the order, enclose in parentheses the part of the equation to be resolved first. For example, the following equation produces a result of 11 because multiplication is evaluated before addition; the equation multiplies 2 by 3 and then adds 5 to the result: 5+2*3 In contrast, if you use parentheses to change the syntax, 5 and 2 are added together and then multiplied by 3 to produce 21: (5+2)*3 Tip: For more complex math, try the Arithmetic , Statistical , Logarithmic and Trigonometric functions.

Page 442 InduSoft Web Studio Operator Usage Description - X - Y Subtract (minus) * X * Y Multiply by / X / Y Divide by