Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual
Page 39

MotionSuite™ Series Machine Controller Programming Manual
Chapter 1: Motion Programmming Outline
1-30
S
eque
nc
e C
om
m
ands
(c
ont
inue
d)
ATN
Arc Tangent
ATN(MW—);
ATN(45);
Calls the arc tangent of an inte-
ger/real number (deg), and
returns a real value.
SQRT
Square Root
SQT(MW—);
SQT(100);
Calls the square root of an inte-
ger/real number (deg), and
returns a real value.
BIN
BCD
→BIN
BIN (MW—);
Converts BCD data to BIN data.
BCD
BIN
→BCD
BCD (MW—);
Converts BIN data to BCD data.
==
Same
IF MW— ==MW—;
WHILE MW— ==MW—;
Used with IF or WHILE condi-
tions. Is true if the left and right
are the same.
<>
Not Same
IF MW— <>MW—;
WHILE MW— <>MW—;
Used with IF or WHILE condi-
tions. Is true if the left and right
are not the same.
>
Greater
IF MW— >MW—;
WHILE MW— >MW—;
Used with IF or WHILE condi-
tions. Is true if the left is greater
than the right.
<
Less
IF MW— Used with IF or WHILE condi- >= Equal or IF MW— >=MW—; Used with IF or WHILE condi- <= Equal or IF MW— <=MW—; Used with IF or WHILE condi- TON Time Limit MB— &TON(5.00 MW—); The basic timer clock is 10msec. TOF Time Limit MB— &TOF(5.00 MW—); The basic timer clock is 10msec. Type Command Name Command Format Function/Meaning
tions. Is true if the left is less
than the right.
Greater
WHILE MW— >=MW—;
tions. Is true if the left is equal to
or greater than the right.
Less
WHILE MW— <=MW—;
tions. Is true if the left is equal to
or less than the right.
ON Timer
Timing occurs while the bit vari-
able is ON (waits while bit is
OFF). The designated bit on the
left goes ON upon reaching the
set time (parameter * clock).
Time values (clock numbers) are
stored in the word variable).
OFF Timer
Timing occurs while the bit vari-
able is ON (waits while bit is
OFF). The designated bit on the
left goes OFF upon reaching the
set time (parameter * clock).
Time values (clock numbers) are
stored in the word variable).