Справочник Пользователя для Mitsubishi Electronics QCPU
7-254
COS(P)
7.12.3
COS operation on floating-point data (Single precision)
(COS(P))
COS(P)
*1: Applicable for the Universal model QCPU only.
Function
(1) Returns the COS (cosine) value of the angle designated by
and stores operation result at
device number designated by
.
(2) Angles designated at
are set in radian units (degrees
/ 180).
For conversion between degrees and radian values, see the RAD and DEG instructions.
Basic model QCPU: The upper five digits of the serial No. are "04122" or larger.
: Angle data of which the COS (cosine) value is obtained or head number of the devices where the angle data
is stored (real number)
: Head number of the devices where the operation result will be stored (real number)
Setting
Data
Internal Devices
R, ZR
J
\
U
\G
Zn
Constants
E
Other
Bit
Word
Bit
Word
––
––
*1
––
––
––
*1
––
––
Process
High
performance
Redundant Universal
Ver.
Basic
Command
Command
COS
P
COS
COSP
COS
S
D
S
D
S
D
S
D
S
D
32-bit floating-point
real number
real number
COS (
)
32-bit floating-point
real number
real number
+1
+1
S
D
S
D
S