6 arc cosine (acos), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual
Page 176: 3 ) programming example

5.6 Basic Function Instructions
5.6.6 Arc Cosine (ACOS)
5-107
Instructions
5
5.6.6 Arc Cosine (ACOS)
( 1 ) Operation
The ACOS instruction calculates the arc cosine 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.
Input Data Range
Set the input data to a value between -1.0 and 1.0. The output is set to 0 if the input value is out of range.
( 3 ) Programming Example
In the following programming example, the arc sine of 0.5 in the input data in MF00000 is calculated and the result is
stored in the output data in DF00000.
COS (0.5)
-1
→ DF00000 = 60.0 (degrees)
Input data
)
Output data
COS (
-1
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: ACOS