Calculating The Cosine Of Single-Precision Real Number - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Calculating the cosine of single-precision real number

COS(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions calculate the cosine of the angle specified by a single-precision real number.
Ladder
(s)
(d)
*1
FBD/LD
EN
ENO
s
d
*1 The COS instruction does not support the ST and FBD/LD. Use the standard function, COS.
Page 1901 COS(_E)
■Execution condition
Instruction
COS
COSP
Setting data
■Description, range, data type
Operand
Description
(s)
Angle data used for cosine calculation, or the start device
containing the angle data
(d)
Start device for storing the operation result
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s)
(d)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
*1
ST
ENO:=COSP(EN,s,d);
Range
Data type
-126
128
|(s)|<2
0, 2
Single-precision real
number
Single-precision real
number
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
Data type (label)
ANYREAL_32
ANYREAL_32
BOOL
BOOL
Constant
Others
specification
K, H E
$
7.9 Real Number Instructions
7
773

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents