Yaskawa MotionSuite Series Machine Controller Programming Manual de usuario Pagina 136

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 187
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 135
MotionSuite™ Series Machine Controller Motion Programming Manual Chapter 4: Sequence Commands
4-4
4.1.2 Arithmetic Calculation Combinations
Arithmetic calculation can be executed by combining the arithmetic calculation
commands and the functions.
The order of calculations is as follows: functions, multiplication/division, addition/
subtraction.
An example of the calculation format is shown below:
Supplement
The following examples show the changes in the operation order when parentheses ( ) are
used:
Example: MW00100=MW00102 + MW00104 * SIN(MW00106);
(1)(2)(3)
The calculation is executed in the above-numbered order.
• MF00100=100. + 200. * 0.5 * SIN(30.);
(150.) (4) (2) (3) (1)
• MF00100=(100. + 200.) * 0.5 * SIN(30.);
(75.) (2) (3) (4) (1)
• MF00100=(100. + 200. * 0.5) * SIN(30.);
(100.) (3) (2) (4) (1)
Vista de pagina 135
1 2 ... 131 132 133 134 135 136 137 138 139 140 141 ... 186 187

Comentarios a estos manuales

Sin comentarios