6 arc cosine instruction (acos) – Yaskawa Ladder Works Programming Manual User Manual

Page 92

Advertising
background image

5.6 ARC COSINE Instruction (ACOS)

5-10

5.6 ARC COSINE Instruction (ACOS)

[Outline]

The ACOS instruction uses the Source as the input and stores the arc cosine (unit = degrees) of the
input in the Dest. This instruction can be used in a real number operation.

[Format]

Symbol : ACOS
Full Name : Arc Cosine
Category : FUNCTION

Icon :

[Parameter]

Parameter Name

Setting

Source
(Input)

· Any real number type register
· Any real number type register with subscript
· Constant

Dest
(Output)

· Any real number type register (except for # and C register)
· Any real number type register with subscript (except for # and C register)

[Program Example]

The arc cosine of the input value (0.5) [ACOS (0.5) = X = 60.0 degrees] is calculated.

Notes: ARC COSINE Instruction cannot be used for integer type and double-length integer type

data.


Advertising