Cosine: Cos(461) - Omron SYSMAC CVM1 Series Operation Manual

Duplex system
Hide thumbs Also See for SYSMAC CVM1 Series:
Table of Contents

Advertisement

Floating-point Math Instructions

5-21-12 COSINE: COS(461)

Ladder Symbol
(461)
COS
Variations
↑COS(461)
Description
Relation Between Input Data and Result
Precautions
Flags
Operand Data Areas
S: First source word
S
R
R: First result word
When the execution condition OFF, COS(461) is not executed. When the execu-
tion condition is ON, COS(461) computes the cosine of the angle (in radians)
expressed as the 32-floating-point content of S and S+1, and places the result in
R and R+1.
S+1
COS
R+1
Specify the angle in radians for S and S+1. For information on converting from
degrees to radian, refer to 5-21-9 DEGREES-TO-RADIANS: RAD(458).
S and S+1must be floating-point data and its absolute value must be less than
65,536.
Note Refer to page 101 for general precautions on operand data areas.
ER (A50003):
EQ (A50006):
N (A50008):
OF (A50009):
UF (A50010):
CIO, G, A, T, C, #, DM
CIO, G, A, DM
S
R
R
The absolute value of S and S+1is 65,536 or greater.
S and S+1is not floating-point data.
The content of a*DM word is not BCD when set for BCD.
The exponent and mantissa of the result are 0.
The result is a negative number.
OFF when the computation is executed.
OFF when the computation is executed.
Section 5-21
Source (floating-point data, 32 bits)
Result (cosine value, floating-point
data, 32 bits)
S: Angle (radian) data
R: Result (cosine)
293

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cv seriesSysmac cvm1d series

Table of Contents