JVL MIS17 Series User Manual page 260

Integrated step motors, including step motor controller smc66, smc85
Table of Contents

Advertisement

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', 'Jump according to a
register', and 'Wait for a register value before continuing'.
If you make a calculation please be aware that most of the registers in the MIS
motors operate with integers so its often needed to multiply before doing a
division in order to become a precise result.
Also be aware that all calculations are done in 32 bit format which gives the
possibility to operate with values from
gives a higher value than
calculationresult becomes lowe than
260
JVL Industri Elektronik A/S - User Manual - Integrated Stepper Motors MIS17x, 23x, 34x, 43x
31
-2
to 2
31
it will therefore becomes negative and similar if a
2
31
the result becomes positive.
-2
31
. If the result of a calculation

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents