Yaskawa MotionSuite Series Machine Controller Programming Manual do Utilizador Página 136

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 187
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 135
1 2 ... 131 132 133 134 135 136 137 138 139 140 141 ... 186 187

Comentários a estes Manuais

Sem comentários