Sine: Sin(460) - Omron CVM1D Operation Manual

Hide thumbs Also See for CVM1D:
Table of Contents

Advertisement

Floating-point Math Instructions

5-21-11 SINE: SIN(460)

Ladder Symbol
(460)
SIN
S
Variations
↑SIN(460)
Description
Relation Between Input Data and Result
Precautions
Flags
292
Operand Data Areas
S: First source word
R
R: First result word
When the execution condition OFF, SIN(460) is not executed. When the execu-
tion condition is ON, SIN(460) computes the sine of the angle (in radians) ex-
pressed as the 32-floating-point content of S and S+1, and places the result in R
and R+1.
SIN
S+1
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 of must be less than
65,536.
Note Refer to page 101 for general precautions on operand data areas.
ER (A50003):
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.
EQ (A50006):
The exponent and mantissa of the result are 0.
N (A50008):
The result is a negative number.
OF (A50009):
OFF when the computation is executed.
UF (A50010):
OFF when the computation is executed.
CIO, G, A, T, C, #, DM
CIO, G, A, DM
Source (floating-point data, 32 bits)
S
Result (sine value, floating-point data,
R
32 bits)
R
S: Angle (radian) data
R: Result (sine)
Section 5-21

Advertisement

Table of Contents
loading

Table of Contents