Instructions that perform mathematical operations on numeric variables.
| Instruction | Description |
|---|---|
| ADD | Addition (IN1 + IN2) |
| SUB | Subtraction (IN1 - IN2) |
| MUL | Multiplication (IN1 * IN2) |
| DIV | Division (IN1 / IN2) |
| MOD | Modulo remainder (IN1 MOD IN2) |
Arithmetic instructions with the
Nqualifier execute every scan cycle. Use thePqualifier if you only want the operation to run once per step activation.