7.12.3
COS operation on floating-point data (Single precision)
(COS(P))
COS(P)
COS
COSP
Setting
Data
S
D
Function
(1) Returns the COS (cosine) value of the angle designated by
device number designated by
(2) Angles designated at
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.
Command
Command
: Angle data of which the COS (cosine) value is obtained or head number of the devices where the angle data
S
is stored (real number)
: Head number of the devices where the operation result will be stored (real number)
D
Internal Devices
R, ZR
Bit
Word
––
––
.
D
S
+1
S
COS (
32-bit floating-point
real number
are set in radian units (degrees
S
Ver.
High
Basic
performance
COS
COS P
J
\
U
\G
Bit
Word
––
––
*1: Applicable for the Universal model QCPU, LCPU.
and stores operation result at
S
D
+1
D
)
32-bit floating-point
real number
/ 180).
COS(P)
Process
Redundant Universal
LCPU
S
D
S
D
Constants
Zn
Other
E
––
*1
*1
––
––
7-253
1
2
3
4
6
6
7
8