Chapter 16 PLC Function ApplicationsMS300
API
COS
131
D
bit device
X
Y
M
S
D
Notes on operand usage:
Refer to the function specifications table for each device in series for
the scope of device usage.
P
Word device
K
H
KnX KnY KnM
*
*
S: the designated source value (diameter). D: the COS value result.
Finds the COS of the source value designated by S and stores it in D.
The following figure displays the relationship between the arc and COS results:
When X0 = ON, finds the COS value of the designated binary floating point number
(D1, D0) in radians and stores the result in (D11, D10), as a binary floating point
number.
X0
DCOS
Find the cosine of a binary floating point number
16-bit command
T
C
D
-
*
32-bit command (9 STEP)
*
DCOS
Flag signal: none
D0
D10
736
-
-
Continuous
DCOSP
execution type
execution type
-
Pulse