Yaskawa MotionSuite Series Machine Controller Programming Manual de usuario Pagina 134

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 187
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 133
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–;
Vista de pagina 133
1 2 ... 129 130 131 132 133 134 135 136 137 138 139 ... 186 187

Comentarios a estos manuales

Sin comentarios