Arithmetic operators are mathematic functions that are performed on two or more numbers (operands). When used in PPCL, the result of a calculation is determined and assigned to a point name or local variable for future reference. For information on the order in which arithmetic operators are evaluated, see the Order of Precedence.

NOTE:
A maximum of 15 arithmetic operators can be used in one PPCL program line.

PPCL supports the following arithmetic operators:

  • Addition (+)
  • Assignment (=)
  • Division (/)
  • Multiplication (*)
  • Subtraction (-)