EasyManua.ls Logo

Omron CJ - INSTRUCTIONS - Page 521

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
483
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Floating-point Math Instructions
3
DEG
Function
DEG(459) converts the 32-bit floating-point number in S+1 and S from radians to degrees and places
the result in R+1 and R. (The floating point source data must be in IEEE754 format.)
Radians are converted to degrees by means of the following formula:
Radians × 180/π = degrees
Note If the absolute value of the result is greater than the maximum value that can be expressed as floating-
point data, the Overflow Flag will turn ON and the result will be output as ±∞.
If the absolute value of the result is less than the minimum value that can be expressed as floating-point
data, the Underflow Flag will turn ON and the result will be output as 0.
R+1 R
S
S+1
Source (radians, 32-bit floating-point data)
Result (degrees, 32-bit floating-point data)

Table of Contents

Related product manuals