Math calculation
var := math;Where “var” is a variable PLC or @ local, and “math” is a series of calculations as desired (with constant values or variables) using the following:
- + sum
- – subtraction
- * multiplication
- / division
- % (or MOD) division remainder
- ORBIT or “bit a bit”
- ANDBIT and “bit a bit”
- XORBIT xor “bit a bit”
- ! (or NOT) negate value