beautypg.com

7 arc tangent instruction (atan) – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual

Page 103

background image

1.5 Basic Function Instructions

1-93

1

1.5.7 ARC TANGENT Instruction (ATAN)

„

Outline

The ATAN instruction calculates the arc tangent of integer or real number data as the opera-
tion result.

The input units and output results for integer and real number data are different. This
instruction cannot be used for double-length integer data.

Integer Type Data

This instruction can be used between -327.68 and 327.67 degrees. The Source is used as the
input (1

= 0.01 degrees) and the operation result is stored in the Dest. Upon output, the oper-

ation result is multiplied by 100.

Real Number Type Data

The Source is used as the input (unit

= degrees) and the arc tangent of the input is stored in

the Dest.
This instruction cannot be used for integer type and double-length integer data.

„

Format

„

Parameter

Parameter Name

Setting

Source
(Input)

• Any integer type and real number type register
• Any integer type and real number type register with subscript
• Subscript register
• Constant

Dest
(Output)

• Any integer type and real number type register (except for #

and C registers)

• Any integer type and real number type register with subscript

(except for # and C registers)

• Subscript register

Symbol: ATAN
Full Name: Arc Tangent
Category: FUNCTION
Icon:

This manual is related to the following products: