Chapter 16 PLC Function ApplicationsMH300
COS
Find the cosine of a binary floating point number
-
-
DCOS
Continuous
execution type
DCOSP
Flag signal: none
*
*
*
*
R
efer to the function specifications table for each device in series for
the scope of device usage.
S: the designated source value. 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
number.
R
S
-2
3
2
-2 2
3
2
2
2
-
1
-1
0
-
S: Radian
R: Result (COS value)