212 JVL Industri Elektronik A/S - User Manual - Integrated Stepper Motors MIS23x, 34x, 43x
9.7 Graphic programming command reference
9.7.25 Calculator (basic)
Icon:
Dialogue:
Function: Performs a calculation using register values, constants, and the four basic
arithmetic operations: +, -, * and /. The result is stored in a register.
Arithmetic operations take place in the order that they are specified.
Operands/arguments can be either integer constants or registers. The caption
of the dialogue box shows the resulting expression in traditional infix format. It
is continuously updated as you type in the expression.
Note that if you write a value to a register using this command, that value is
always measured in native motor units. Conversion from generic engineering
units is only supported for the commands ‘Set a register in the MAC motor’,
‘Jump according to a register in the MAC motor’, and ‘Wait for a register value
before continuing’.