
MotionSuite™ Series Machine Controller Motion Programming Manual Chapter 4: Sequence Commands
4-2
4.1 Sequence Command Outline
This section includes an outline of the sequence commands as well as a combination of the
calculations.
4.1.1 Calculation Commands
The calculation commands execute general calculations which combine global vari-
ables, local variables, and constants with operators and functions. Variables can be
substituted for the results.
The basic format of the calculation is: Variable=<Calculation format>. It uses the
following calculations and functions.
Type Command Name Command Format
Arithmetic Calculations
= Substitution MW– =MW–;
+ Addition MW– =MW– +MW–;
– Subtraction MW– =MW– –MW
* Multiplication MW– =MW–*MW–;
/ Division MW– =MW–/MW–;
MOD Remainder MW– =MOD;
Logical Calculations
| OR (Logical OR) MB– =MB– | MB–;
^ XOR (Exclusive OR) MB– =MB– ^MB–
& AND (Logical AND) MB– =MB– &MB–;
! NOT (invert) MB– =MB– !MB–;
Value Comparisons
= = Same IF MW– = =MW–;
< > Not same IF MW– < >MW–;
> Greater IF MW– >MW–;
<Less IF MW– <MW–;
>= Greater or equal IF MW– > =MW–;
<= Less or equal IF MW– < =MW–;
Data Operations
SFR Right-shift SFR MB– N– W–;
SFL Left-shift SFL MB– N– W–;
BLK Block transfer BLK MW– MW– W–;
CLR Clear CLR MB– W–;
Comentarios a estos manuales