Yaskawa MotionSuite Series Machine Controller Programming Uživatelský manuál Strana 136

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 187
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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)
Zobrazit stránku 135
1 2 ... 131 132 133 134 135 136 137 138 139 140 141 ... 186 187

Komentáře k této Příručce

Žádné komentáře