beautypg.com

4 arc sine (asn) – Yaskawa MP900 Series Motion Programming Manual User Manual

Page 162

background image

4.6 Basic Functions

4 -29

4.6.4 ARC SINE (ASN)

J

Overview

The ASN command uses the specified variable or constant as input and returns the arc sine (unit
= degrees) in a real number register.

J

Description

Designation Method

MF00100=ASN(MF00102);

MF00200=ASN(1.0);

Data Types

Bit (B)

Integer (W)

Double Integer

(L)

Real Number

(F)

Constant

No

No

No

Yes

Yes

J

Programming Examples

Type

Motion Program

Ladder Logic Program

B

W

L

F

DF00202=ASN(DF00200);

DF00200 ASIN

⇒ DF00202

Example: Calculates the arc sine of the input value (0.5): ASN (0.5) = 30.0 degrees.

MF00202=ASN(MF00200);

(30.0)

(0.5)

The ASN command can use only real number data. If bits, integers, or double integers are specified, an error will
result at compilation.

4

A

EXAMPLE

"

IMPORTANT

This manual is related to the following products: