Logical calculation combination -5 – Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual
Page 137

MotionSuite™ Series Machine Controller Motion Programming Manual
Chapter 4: Sequence Commands
4-5
4.1.3
Logical Calculation Combinations
Logical calculations can be executed by combining the Logical Calculation
commands.
There is no priority order for the calculations. It is also possible to combine the
arithmetic calculations, but it is impossible to execute the real number calculation.
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 & MW00102 | MW00106 ^ MW00108;
(3)
(2)
(1)
The calculation is executed in the above-numbered order.
• MW00100=MW00101 & MW00102 | MW00106 ^ MW00104;
(1)
(2)
(3)
• MW00100=MW00101 & MW00102 | (MW00106 ^ MW00104);
(2)
(3)
(1)