7 arc tangent instruction (atan) – Yaskawa Ladder Works Programming Manual User Manual

Page 93

Advertising
background image

5.7 ARC TANGENT Instruction (ATAN)

5-11

5.7 ARC TANGENT Instruction (ATAN)

[Outline]

The ATAN instruction calculates the arc tangent of integer or real number data as the operation 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 operation 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]

Symbol : ATAN
Full Name : Arc Tangent
Category : FUNCTION

Icon :

[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

Advertising