Radians To Degrees: Deg(459) - Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Floating-point Math Instructions
Description
Flags
Precautions

3-15-10 RADIANS TO DEGREES: DEG(459)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
610
RAD(458) converts the 32-bit floating-point number in S+1 and S from
degrees to radians and places the result in R and R+1. (The floating point
source data must be in IEEE754 format.)
S+1
R+1
Degrees are converted to radians by means of the following formula:
Degrees
/180 = radians
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.
Name
Label
Error Flag
ER
Equals Flag
=
Overflow Flag
OF
Underflow Flag
UF
Negative Flag
N
The source data in S+1 and S must be in IEEE754 floating-point data format.
Converts a 32-bit floating-point number from radians to degrees and places
the result in the specified result words.
DEG(459)
S: First source word
S
R: First result word
R
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
OK
OK
Source (degrees, 32-bit floating-point data)
S
Result (radians, 32-bit floating-point data)
R
.
Operation
ON if the source data is not recognized as floating-point
data.
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.
ON if the absolute value of the result is too large to be
expressed as a 32-bit floating-point value.
ON if the absolute value of the result is too small to be
expressed as a 32-bit floating-point value.
ON if the result is negative.
OFF in all other cases.
Step program areas
Subroutines
OK
Section 3-15
DEG(459)
@DEG(459)
Not supported.
Interrupt tasks
OK

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents