Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 521

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

3. Instructions
Flags
Name
Error Flag
Equals Flag
Overflow Flag
Underflow Flag
Negative Flag
Function
ASIN
ASIN(463) computes the angle (in radians) for a sine value expressed as a 32-bit floating-point number
in S+1 and S and places the result in R+1 and R.
(The floating point source data must be in IEEE754 format.)
–1
S+1
SIN
R+1
The result is output to words R+1 and R as an angle (in radians) within the range of – /2 to /2.
The following diagram shows the relationship between the input data and result.
484
Label
ER
ON if the source data is not recognized as floating-point data.
• ASIN
ON if the source data is not a number (NaN).
ON if the absolute value of the source data exceeds 1.0.
• ACOS
ON if the source data is not a number (NaN).
ON if the absolute value of the source data exceeds 1.0.
• ATAN
ON if the source data is not a number (NaN).
OFF in all other cases.
=
• ON if both the exponent and mantissa of the result are 0.
• OFF in all other cases.
OF
OFF
UF
OFF
N
• ASIN
ON if the result is negative.
OFF in all other cases.
• ACOS
OFF
Source (32-bit floating-point data)
S
Result (32-bit floating-point data)
R
Operation
R
S: Input data (sine value)
R: Result (radians)
CS/CJ/NSJ Series Instructions Reference Manual (W474)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Questions and answers

Table of Contents