4 sequence commands, Sequence commands – Yaskawa MP900 Series Motion Programming Manual User Manual

Page 134

Advertising
background image

4 -1

4

Sequence Commands

This chapter explains the sequence commands, such as the math com-
mands, and describes the programming methods used.

4.1 Overview of Sequence Commands

4

-3

. . . . . .

4.1.1 Math Commands

4

-3

. . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.1.2 Combinations of Math Operations

4

-4

. . . . . . . . . . . . . .

4.1.3 Combinations of Logic Operations

4

-4

. . . . . . . . . . . . .

4.2 Arithmetic Operations

4

-6

. . . . . . . . . . . . . . . . . .

4.2.1 SUBSTITUTE (=)

4

-6

. . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.2.2 ADD (+)

4

-7

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.2.3 SUBTRACT (−)

4

-8

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.2.4 MULTIPLY (*)

4

-8

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.2.5 DIVIDE (/)

4

-9

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.2.6 REMAINDER (MOD)

4

-10

. . . . . . . . . . . . . . . . . . . . . . . . .

4.3 Logic Operations

4

-11

. . . . . . . . . . . . . . . . . . . . . .

4.3.1 OR ( | )

4

-11

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.3.2 AND (&)

4

-12

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.3.3 XOR (∧)

4

-13

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.3.4 NOT ( ! )

4

-14

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.4 Data Comparisons

4

-16

. . . . . . . . . . . . . . . . . . . . .

4.4.1 Data Comparison Commands

(= =, < >, >, <, > =, < =)

4

-16

. . . . . . . . . . . . . . . . . . . .

4.5 Data Operations

4

-18

. . . . . . . . . . . . . . . . . . . . . . .

4.5.1 BIT RIGHT SHIFT (SFR)

4

-18

. . . . . . . . . . . . . . . . . . . . .

4.5.2 BIT LEFT SHIFT (SFL)

4

-19

. . . . . . . . . . . . . . . . . . . . . . .

4.5.3 BLOCK MOVE (BLK)

4

-20

. . . . . . . . . . . . . . . . . . . . . . . . .

4.5.4 CLEAR (CLR)

4

-22

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4

Advertising
This manual is related to the following products: