Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual

Page 37

Advertising
background image

MotionSuite™ Series Machine Controller Programming Manual

Chapter 1: Motion Programmming Outline

1-28

Adva

nc

ed Cont

rol Com

m

a

nd

s

PFN

In-Position
Check

MVS [axis1]— [axis2]—... PFN; or
PFN [axis1] [axis2];

Proceeds to next block after an
interpolation motion command in
the same block or previous block
enters the positioning comple-
tion area (parameter setting).

INP

2nd In-Posi-
tion Check

INP [axis1]— [axis2]—... PFN;

Proceeds to next block after the
subsequently designated interpo-
lation motion command enters
the 2nd positioning completion
area.

SNG

Ignore Sin-
gle Block

SNG MVS [axis]100.
[axis2]200.F1000;

Ignores a block containing this
command, and continues run-
ning even in the Single Block
Operation Mode.

UFC

User Func-
tion Call-out

UFC user function name input data,
input address, output address

Calls out functions created by the
user.

S

eq

u

e

nc

e C

om

m

a

n

ds

=

Equals

(Result) = (Operation)

Introduces the result of an opera-
tion. Operations flow from left to
right (regardless of order of pri-
ority).

+

Add

MW— =MW— +MW—;
MW— =MW— +123456;
MW— =123456 + MW—

Executes addition of integers and
real numbers. Calculations are
done in real number form if real
numbers and integers are mixed.

-

Subtract

MW— =MW— -MW—;
MW— =MW— -123456;
MW— =123456 - MW—

Executes subtraction of integers
and real numbers. Calculations
are done in real number form if
real numbers and integers are
mixed.

*

Multiply

MW— =MW— *MW—;
MW— =MW— *123456;
MW— =123456 * MW—

Executes multiplication of inte-
gers and real numbers. Calcula-
tions are done in real number
form if real numbers and integers
are mixed.

/

Division

MW— =MW— /MW—;
MW— =MW— /123456;
MW— =123456 / MW—

Executes division of integers and
real numbers. Calculations are
done in real number form if real
numbers and integers are mixed.

MOD

Remainder

MW— =MW— /MW—;
MW— =MOD;

Saves MOD as a remainder to a
designated register when com-
manded in the next block follow-
ing division.

|

OR
(logical
OR)

MB— =MB— |MB—;
MB— =MB—|1;
MW— =MW— |MW—;
MW— =MW— |H00FF;

Creates a bit/integer logical OR.

Type

Command

Name

Command Format

Function/Meaning

Advertising