Yaskawa MP930 User Manual

Page 308

Advertising
background image

Command List

B -6

Classification

Function/Meaning

Programming Format

Name

Command

Sequence
Commands

ATN

ARC TANGENT

ATN (MW−);
ATN (45);

Obtains the arc tangent of the integer or
real number (deg), and returns a real value.

SQRT

SQUARE ROOT

SQT (MW−);
SQT (100);

Obtains the square root of the integer or
real number, and returns a real value.

BIN

BCD-TO-BINARY

BIN (MW−);

Converts BCD data to binary data.

BCD

BINARY-TO-BCD

BCD (MW−);

Converts binary data to BCD data.

= =

MATCH

IF MW− = = MW−;
WHILE MW− = = MW−;

Used in an IF or WHILE conditional ex-
pression. If the left side and right side
match, the condition is “true.”

< >

MISMATCH

IF MW− < > MW−;
WHILE MW− < > MW−;

Used in an IF or WHILE conditional ex-
pression. If the left side and right side do
not match, the condition is “true.”

>

GREATER THAN

IF MW− > MW−;
WHILE MW− > MW−;

Used in an IF or WHILE conditional ex-
pression. If the left side is greater than the
right side, the condition is “true.”

<

LESS THAN

IF MW− < MW−;
WHILE MW− < MW−;

Used in an IF or WHILE conditional ex-
pression. If the left side is less than the
right side, the condition is “true.”

> =

GREATER THAN
OR EQUAL TO

IF MW− >= MW−;
WHILE MW− >= MW−;

Used in an IF or WHILE conditional ex-
pression. If the left side is greater than or
equal to the right side, the condition is
“true.”

< =

LESS THAN OR
EQUAL TO

IF MW− <= MW−;
WHILE MW− <= MW−;

Used in an IF or WHILE conditional ex-
pression. If the left side is less than or equal
to the right side, the condition is “true.”

SFR

RIGHT SHIFT

SFR MB− N− W−;

Shifts only the designated number of word
variables to the right.

SFL

LEFT SHIFT

SFL MB− N− W−;

Shifts only the designated number of word
variables to the left.

BLK

BLOCK MOVE

BLK MW− MW− W−;

Moves the block (constant designation) be-
ginning with the designated bit (word)
variable.

CLR

CLEAR

CLR MB− W−;

Sets the number of constants specified in
the variable group beginning with the des-
ignated bit (word) variable to OFF (“0”).

B

Advertising