YASKAWA SVC User Manual page 340

Mp3000 series machine controller, motion control
Table of Contents

Advertisement

Instruc-
Instruc-
tion
Name
tion
Type
SIN
Sine
COS
Cosine
TAN
Tangent
ASN
Arc Sine
ACS
Arc Cosine
ATN
Arc Tangent
SQT
Square Root
BIN
BCD→BIN
Basic
BCD
BIN→BCD
Func-
tions
S { }
Set Bit
R { }
Reset Bit
Rising-edge
PON
Pulse
Falling-edge
NON
Pulse
On-Delay
TON
Timer
Format
SIN (MW);
SIN (90);
COS (MW);
COS (90);
TAN (MF);
TAN (45.0);
ASN (MF);
ASN (90.0);
ACS (MF);
ACS (90.0);
ATN (MW);
ATN (45);
SQT (MW);
SQT (100);
BIN (MW);
BCD (MW);
S {MB} = MB & MB;
R {MB} = MB & MB;
MB = PON (MB MB);
Or
IF PON (MB MB) = = 1;
⋅ ⋅ ⋅;
IEND;
MB = NON (MB MB);
Or
IF NON (MB MB) = = 1;
⋅ ⋅ ⋅;
IEND;
MB = MB & TON ( MB);
4.5 Motion Language Instructions
Continued from previous page.
Description
Calculates the sine.
The specifications depend on
whether the data type is inte-
ger or real number.
Calculates the cosine.
The specifications depend on
whether the data type is inte-
ger or real number.
Calculates the tangent.
Only a real number register can
be specified.
Calculates the arc sine.
Only a real number register can
be specified.
Calculates the arc cosine.
Only a real number register can
be specified.
Calculates the arc tangent.
The specifications depend on
whether the data type is inte-
ger or real number.
Calculates the square root.
The specifications depend on
whether the data type is inte-
ger or real number.
Converts BCD data to binary
data.
Converts binary data to BCD
data.
If the logic operation result is
TRUE, the specified bit turns
ON.
However, the specified bit is
not turned OFF even if the
result of the logic operation is
FALSE.
If the logic operation result is
TRUE, the specified bit turns
OFF.
However, the specified bit is
not turned ON even if the result
of the logic operation is FALSE.
The bit output turns ON for one
scan when the bit input status
changes from OFF to ON.
The bit output turns ON for one
scan when the bit input status
changes from ON to OFF.
Counts the time whenever the
bit input is ON.
The bit output turns ON when
the counted value is equal to
the set value.
Counting unit: 10 ms
Continued on next page.
4
4-197

Advertisement

Table of Contents
loading

This manual is also suitable for:

Svc32SvrSvr32

Table of Contents