beautypg.com

Yaskawa MP900 Series Motion Programming Manual User Manual

Page 48

background image

Overview of Motion Programs

1.2.2 Controlled Axes

1 -34

Classification

Programming Format

Name

Command

Logic Operations

|

OR (logical OR)

MB− =MB− |MB−;

^

XOR (exclusive logical OR) MB− =MB− ^MB−;

&

AND (logical AND)

MB− =MB− &MB−;

!

NOT (inversion)

MB− =MB− !MB−;

Data Comparison

= =

MATCH

IF MW− = =MW−;

< >

MISMATCH

IF MW− < >MW−;

>

GREATER THAN

IF MW− >MW−;

<

LESS THAN

IF MW−

> =

GREATER THAN OR
EQUAL TO

IF MW− > =MW−;

< =

LESS THAN OR EQUAL
TO

IF MW− < =MW−;

Data Operations

SFR

SHIFT RIGHT

SFR MB−N−W−;

SFL

SHIFT LEFT

SFL MB−N−W−;

BLK

MOVE BLOCK

BLK MW−MW−W−;

CLR

CLEAR

CLR MB−W−;

Basic Functions

SIN

SINE

SIN(MW−);

COS

COSINE

COS(MW−);

TAN

TANGENT

TAN(MF−);

ASN

ARC SINE

ASN(MF−);

ACS

ARC COSINE

ACS(MF−);

ATN

ARC TANGENT

ATN(MW−);

SQT

SQUARE ROOT

SQT(MW−);

BIN

BCD-TO-BINARY

BIN(MW−);

BCD

BINARY-TO-BCD

BCD(MW−);

S{ }

SET BIT

S{MB−}=MB− &MB−;

R{ }

RESET BIT

R{MB−}=MB− &MB−;

1

This manual is related to the following products: