Arithmetical Operators

The Arithmetical Operators perform the four arithmetical operations (addition, subtraction, multiplication, division) on Global Parameters or User Variables.

ADD Instruction

SUBTRACT Instruction

MULTIPLY Instruction

DIVIDE Instruction

ADD Instruction

The ADD Instruction performs an integer addition between two arguments (the second one could be also a numerical constant) storing the result in a destination parameter.

SUBTRACT Instruction

The SUBTRACT Instruction performs an integer subtraction between two arguments (the second one could be also a numerical constant) storing the result in a destination parameter.

MULTIPLY Instruction

The MULTIPLY Instruction performs an integer multiplication between two arguments (the second one could also be a numerical constant) storing the result in a destination parameter.

DIVIDE Instruction

The DIVIDE Instruction performs an integer division between two arguments (the second one could be also a numerical constant) storing the result in a destination parameter.

If the second operand is a constant the Kollmorgen Space performs a by zero division check.

If the second operand is a User Variable or a Drive Object the Kollmorgen Space drive's firmware will perform a by zero division check issuing an exception if the check is positive.