Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 171

Advertising
background image

5.6 Basic Function Instructions

5.6.2 Sine (SIN)

5-102

( 3 ) Programming Examples

The following programming examples demonstrate the SIN instruction using integer and real number input data.

• Integer SIN

The sine of 9,000, an integer in the input data in MW00000, is calculated and the result is stored in the output
data in DW00000.
SIN (90.00 deg)

× 10,000 → DW00000 = 10,000

• Real Number SIN

The sine of 90.0, a real number in the input data in MF00000, is calculated and the result is stored in the output
data in DF00000.
SIN (90.0 deg)

→ DF00000 = 1.0

Advertising
This manual is related to the following products: