EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 592

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
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...
559
Double-precision Floating-point Instructions Section 3-15
Operand Specifications
Description EXPD(858) calculates the natural (base e) exponential of the double-precision
(64-bit) floating-point number in words S to S+3 and places the result in words
D to D+3. In other words, EXP(467) calculates e
x
(x = source) and places the
result in words D to D+3.
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.
Note The constant e is 2.718282.
The following diagram shows the relationship between the input data and
result.
Area S D
CIO Area CIO 0 to CIO 6140
Work Area W0 to W508
Holding Bit Area H0 to H508
Auxiliary Bit Area A0 to A956 A448 to A956
Timer Area T0000 to T4092
Counter Area C0000 to C4092
DM Area D0 to D32764
Indirect DM addresses
in binary
@ D0 to @ D32767
Indirect DM addresses
in BCD
*D0 to *D32767
Constants ---
Data Registers ---
Index Registers ---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
S+1 S
S+3 S+2
D+1 DD+3 D+2
e
R
S: Input data
R: Result

Table of Contents

Related product manuals