2 sine (sin), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 170

Advertising
background image

5.6 Basic Function Instructions

5.6.2 Sine (SIN)

5-101

Instructions

5

5.6.2 Sine (SIN)

( 1 ) Operation

The SIN instruction calculates the sine of the integer or real number input data and stores the result in the output data.
Double-length integers cannot be used.

[ a ] Integer Input Data and Output Data

∗ 1. The input data is in degrees, where 1 = 0.01 degree.
∗ 2. The operation result is multiplied by 10,000 and stored in the output data.

[ b ] Real Number Input Data and Output Data

Œ

The input data is in degrees.

( 2 ) Format

∗ C and # registers cannot be used.

[ a ] Integer

The input data is in degrees, where 1 = 0.01 degrees.
Therefore, the SIN function can operate on values between -327.78 and 327.67 degrees.
The output of the SIN function is multiplied by 10,000, so the output data will be output between -10,000 and 10,000.

[ b ] Real Number

The input data is in degrees.

Input data

) × 10000

Output data

SIN (

Input data

)

Output data

SIN (

Parameter Name

Applicable Data Types

B

W

L

F

A

Index

Constant

Input data (Src)

×

{

×

{

×

{

{

Output data (Dest)

×

{

*

×

{

*

×

{

×

Input data

Output data

Icon:

Key entry: SIN

Advertising
This manual is related to the following products: