3 cosine (cos), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual
Page 172

5.6 Basic Function Instructions
5.6.3 Cosine (COS)
5-103
Instructions
5
5.6.3 Cosine (COS)
( 1 ) Operation
The COS instruction calculates the cosine of the integer or real number input data and stores the result in the output
data.
Double-length integers cannot be used.
[ a ] Integer Input Data and Output Data
∗ 1. The input data is in degrees, where 1 = 0.01 degree.
∗ 2. The operation result is multiplied by 10,000 and stored in the output data.
∗ 3. The input data must be between -327.68 and 32.767 degrees. Any other number will not produce the correct
result.
[ b ] Real Number Input Data and Output Data
The input data is in degrees.
( 2 ) Format
∗ C and # registers cannot be used.
[ a ] Integer
The input data is in degrees, where 1 = 0.01 degree.
Therefore, the COS function instruction can operate on values between -327.78 and 327.67 degrees.
The output of the COS function is multiplied by 10,000, so the data will be output between -10,000 and 10,000.
[ b ] Real Number
The input data is in degrees.
Input data
) × 10000
Output data
COS (
Input data
)
Output data
COS (
Parameter Name
Applicable Data Types
B
W
L
F
A
Index
Constant
Input data (Src)
×
{
×
{
×
{
{
Output data (Dest)
×
{
*
×
{
*
×
{
×
Input data
Output data
Icon:
Key entry: COS