7-248
7.12 Special Function Instructions
7.12.10 COS
-1
operation on floating-point data (double precision)
ACOSD
7.12.10
COS
-1
operation on floating-point data (double precision)
ACOSD
Function
(1) Evaluates the arccosine function on the value specified for
to define an angle, and stores
the result to the word device specified for
.
(2) The COS value specified for
can be in the range from 1.0 to 1.0.
(3) The angle (operation result) stored in
is stored in radians.
For more information on the conversion between radians and degrees, refer to the DEGD
and RADD instructions.
(4) When the operation results in
−
0 or an underflow, the result is processed as 0.
ACOSD(P)
P: Executing condition
:
indicates any of the following
instructions.
ACOSD
ACOSDP
Input argument,
EN:
Executing condition
:Bit
s:
Cosine values on which the arccosine function is evaluated
:Double-precision real
Output argument,
ENO:
Execution result
:Bit
d:
Operation result
:Double-precision real
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
E
Others
Bit
Word
Bit
Word
−
−
−
−
−
−
−
Universal
UD
High
Performance
Structured ladder
ST
AC
OS
D
EN
ENO
s
d
AC
OS
D
(EN,
s
, d);
ENO:=
s
d
s
d
(
)
6
4-
b
i
t
f
l
oat
i
ng
-
po
i
nt
rea
l
number
d
S
6
4-
b
i
t
f
l
oat
i
ng
-
po
i
nt
rea
l
number
C
OS
-
1
s
d
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......