Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 578

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Double-precision Floating-point Instructions
Flags
Precautions
3-15-10 DOUBLE RADIANS TO DEGREES: DEGD(850)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
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 words S to S+3 must be in IEEE754 floating-point data for-
mat.
Converts a double-precision (64-bit) floating-point number from radians to
degrees and places the result in the specified result words.
DEGD(850)
S
S: First source word
D: First destination word
D
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
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
.
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 double-precision floating-point value.
ON if the absolute value of the result is too small to be
expressed as a double-precision floating-point value.
ON if the result is negative.
OFF in all other cases.
Step program areas
Subroutines
OK
S
CIO 0 to CIO 6140
W0 to W508
H0 to H508
A0 to A956
T0000 to T4092
C0000 to C4092
D0 to D32764
Section 3-15
DEGD(850)
@DEGD(850)
Not supported.
Interrupt tasks
OK
D
A448 to A956
545

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents