7 arc tangent (atan), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 177: 3 ) programming example

Advertising
background image

5.6 Basic Function Instructions

5.6.7 Arc Tangent (ATAN)

5-108

5.6.7 Arc Tangent (ATAN)

( 1 ) Operation

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

Œ

The output data is in degrees.

( 2 ) Format

∗ C and # registers cannot be used.

( 3 ) Programming Example

In the following programming example, the arc tangent of 1.0 in the input data in MF00000 is calculated and the result
is stored in the output data in DF00000.
TAN (1.0)

-1

→ DF00000 = 45.0 (degrees)

Input data

)

Output data

TAN (

-1

Input data

Output data

Icon:

Key entry: ATAN

Parameter Name

Applicable Data Types

B

W

L

F

A

Index

Constant

Input data (Src)

×

×

×

{

×

×

{

Output data (Dest)

×

×

×

{

*

×

×

×

Advertising
This manual is related to the following products: