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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Double-precision Floating-point Instructions
Flags
Precautions
3-15-18 DOUBLE EXPONENT: EXPD(858)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
558
The following diagram shows the relationship between the input data and
result.
R
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.
Calculates the natural (base e) exponential of a double-precision (64-bit) float-
ing-point number and places the result in the specified result words.
EXPD(858)
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
S: Input data
R: Result
Operation
ON if the source data is not recognized as floating-point
data.
ON if the source data is negative.
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 (64-bit) floating-point
value.
Unchanged
Unchanged
Step program areas
Subroutines
OK
Section 3-15
EXPD(858)
@EXPD(858)
Not supported.
Interrupt tasks
OK

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents