295
N (A50008):
The result is a negative number.
OF (A50009):
The absolute value of the result is greater than the maximum
value that can be expressed for floating-point data.
UF (A50010):
OFF when the computation is executed.
5-21-14 SINE TO ANGLE: ASIN(463)
(463)
ASIN
S
R
Ladder Symbol
Variations
↑
ASIN(463)
Operand Data Areas
S: First source word
CIO, G, A, T, C, #, DM
R: First result word
CIO, G, A, DM
When the execution condition OFF, ASIN(463) is not executed. When the
execution condition is ON, ASIN(463) computes angle (in radians) for a sine ex-
pressed as the 32-floating-point content of S and S+1, and places the result in R
and R+1.
R+1
R
S
Source (floating-point data, 32 bits)
S+1
Result (floating-point data, 32 bits)
SIN
–1
The result is output to words R+1 and R as an angle (in radians) within the range
of –
π
/2 to
π
/2.
Relation Between Input Data and Result
S: Input data (sine)
R: Result (radians)
R
Precautions
The sine must be floating-point data within the range of –1.0 to 1.0.
Note Refer to page 101 for general precautions on operand data areas.
Flags
ER (A50003):
The sine data is not within the range of –1.0 to 1.0.
The sine data is 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.
Description
Floating-point Math Instructions
Section 5-21
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...