4 tangent (tan), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 174: 3 ) programming example

Advertising
background image

5.6 Basic Function Instructions

5.6.4 Tangent (TAN)

5-105

Instructions

5

5.6.4 Tangent (TAN)

( 1 ) Operation

The TAN instruction calculates the tangent of the real number input data and stores the result in the output data.

Œ

The input data is in degrees.

( 2 ) Format

∗ C and # registers cannot be used.

( 3 ) Programming Example

In the following programming example, the tangent of 45 in the input data in MW00000 is calculated and the result is
stored in the output data in DF00000.
TAN (45.00 deg)

→ DF00000 = 1.0

Input data

)

Output data

TAN (

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: TAN

Advertising
This manual is related to the following products: