5 arc cosine (acs) – Yaskawa MP900 Series Motion Programming Manual User Manual

Page 163

Advertising
background image

Sequence Commands

4.6.5 ARC COSINE (ACS)

4 -30

4.6.5 ARC COSINE (ACS)

J

Overview

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

J

Description

Designation Method

MF00100=ACS(MF00102);

MF00200=ACS(60.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=ACS(DF00200);

DF00200 ACOS

⇒ DF00202

Example: Calculates the arc cosine of the input value (0.5): ACS (0.5) = 60.0

degrees.

MF00100=ACS(MF00102);

(0.5)

(60.0)

The ACS 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

Advertising
This manual is related to the following products: