7.12 Special Function Instructions
7.12.9 COS
-1
operation on floating-point data (single precision)
7-245
7
APPLI
C
A
T
IO
N
INSTRUCTIONS
ACOS
ACOS
7.12.9
COS
-1
operation on floating-point data (single precision)
ACOS
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 to
is stored in radians.
For more information on the conversion between radians and degrees, refer to the DEG(P)
and RAD(P) instructions.
ACOS(P)
P: Executing condition
:
indicates any of the following
instructions.
ACOS
ACOSP
Input argument,
EN:
Executing condition
:Bit
s:
Cosine values on which the arccosine function is evaluated
:Single-precision real/ANY32
Output argument,
ENO:
Execution result
:Bit
d:
Operation result
:Single-precision real/ANY32
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
EN
ENO
s
d
AC
OS
(EN,
s
, d);
ENO:=
s
d
s
d
s
d
Floating-point real
number
C
OS
-1
(
)
Floating-point real
number
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: ......