2 cosine (cos) – Yaskawa MP900 Series Motion Programming Manual User Manual

Page 159

Advertising
background image

Sequence Commands

4.6.2 COSINE (COS)

4 -26

D

Real Number Data

The command will uses the immediately preceding operation result (real number data) as
input, and return the sine in a real number register (unit = degrees).

Example:

D

Integer Data

MW00102 = SIN (MW00100) ;

Equivalent

0.5=SIN30 °

(05000)

(03000)

D

Real Number Data

MF00102 = SIN (MF00100) ;

(0.5)

(30.0)

If integer data is input outside the range of −327.68 to 327.67 degrees, a correct result cannot be obtained.

4.6.2 COSINE (COS)

J

Overview

The COS command returns the cosine of integer or real number data as the operation result.
Double integer data cannot be used.

J

Description

Designation Method

MW00100=COS(MW00101);

MW00100=COS(90);

MF00200=COS(MF00202);

Data Types

Bit (B)

Integer (W)

Double Integer

(L)

Real Number

(F)

Constant

No

Yes

No

Yes

Yes

4

IMPORTANT

Advertising
This manual is related to the following products: