Arc sine (asn) -31, 4 arc sine (asn) ! ! ! ! outline, Detailed explanation – Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual

Page 163: Program example

Advertising
background image

MotionSuite™ Series Machine Controller Motion Programming Manual

Chapter 4: Sequence Commands

4-31

4.6.4

Arc Sine (ASN)

!

!

!

! Outline

The ASN command uses a designated variable and constant (unit: degree) as an input, and
leaves the arc sine to the real number register.

!

!

!

! Detailed Explanation

Command Method

Data Type

$ = Yes

× = No

!

!

!

! Program Example

Example: Calculate the arc sine of the input value (0.5): 30

°=θ=ASN (0.5).

Supplement

The ASN command can only be used for real number data. When a bit, integer, and 32-bit
integer are designated, an error occurs during compilation.

Bit (B)

Integer (W)

32-bit Integer (L)

Real (F)

Constant

×

×

×

$

$

Type

Motion Program

Ladder Program

B

W

L

F

DF00202

=

ASN(DF00200);

MF00100=ASN(MF00102);
MF00200=ASN(1.0);

DF00200

ASIN

⇒DF00202

MF00202=ASN(MF00200);

(30.0)

(0.5)

Advertising