API
ACOS
134
D
P
Bit Devices
X
Y
M
K
S
*
D
Operands:
Please refer to the specifications of each model for the
range of operands.
S: Source device (binary floating value) D: Operation result
Explanation
ACOS value =cos
See the figure below for the relation between the input S and the result:
When X0 = ON, DACOS instruction performs arc cosine operation on the binary floating
Example
value in (D1,D0) and stores the ACOS value in (D11, D10) in binary floating format.
X0
Word Devices
H
KnX KnY KnM
T
*
-1
R
S: Input (COS value)
R: Result (ACOS value)
2
-1,0
0
DACOS
D0
Binary floating point
D 1
D 0
ACOS value
D 11
D 10
Chapter 16 PLC Function C2000 Series
Arc Cosine
16-bit command (5 STEPS)
-
C
D
*
32-bit command
*
DACOS
Flag signal: none
S
1,0
D10
16-87
-
-
-
DACOS
P