Cos Operation On Floating-Point Data (Double Precision) - Mitsubishi MELSEC-Q Series Programming Manual

Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

COSD
7.12.4

COS operation on floating-point data (double precision)

COSD(P)
Structured ladder
COSD
EN
ENO
s
Input argument,
EN:
s:
Output argument,
ENO:
d:
Setting
data
s
d
Function
(1) Evaluates the cosine function on the angle specified for
device specified for
(2) The angle specified for
0 or values between 2
For conversion between degrees and radians, refer to the RADD and DEGD instructions.
(3) When the operation results in −0 or an underflow, the result is processed as 0.
7.12 Special Function Instructions
7-234
7.12.4 COS operation on floating-point data (double precision)
ST
ENO:=
COSD
d
Executing condition
Angle data on which the cosine function is evaluated
Execution result
Operation result
Internal device
R, ZR
Bit
Word
.
d
S
COS
(
64-bit floating-point
real number
is set in radians (degrees
s
-1022
and 2
P: Executing condition
instructions.
COSD
(EN, s, d);
:Bit
:Double-precision real
:Bit
:Double-precision real
J
\
U
\G
Bit
Word
s
)
64-bit floating-point
real number
1024
can be specified.
COSD
Universal
UD
:
indicates any of the following
COSDP
Constant
Zn
E
, and stores the result to the
d
/ 180).
High
Performance
Others

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qcpu

Table of Contents