Expd - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

3. Instructions

EXPD

Instruction
DOUBLE EXPONENT
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
S
First source word
D
First destination word
Operand Specifications
Word addresses
Area
CIO
WR
HR
AR
S
OK
OK
OK
OK
D
Flags
Name
Error Flag
Equals Flag
Overflow Flag
Underflow Flag
Negative Flag
538
Mnemonic
Variations
EXPD
@EXPD
Block program areas
Step program areas
OK
OK
Description
Indirect DM/EM
addresses
@DM
T
C
DM
EM
@EM
OK
OK
OK
OK
OK
Label
P_ER
• ON if the input data is not recognized as floating-point data.
• ON if the source data is not a number (NaN).
• OFF in all other cases.
P_EQ
• ON if both the exponent and mantissa of the result are 0.
• OFF in all other cases.
P_OF
• ON if the absolute value of the result is too large to be expressed as a double-precision (64-bit) float-
ing-point value.
• OFF in all other cases.
P_UF
• ON if the absolute value of the result is too small to be expressed as a double-precision (64-bit) float-
ing-point value.
• OFF in all other cases.
P_N
Unchanged
Function
code
Calculates the natural (base e) exponential of a
858
double-precision (64-bit) floating-point number
and places the result in the specified result words.
EXPD
EXPD(858)
S
S: First source word
D
D: First destination word
Subroutines
Interrupt tasks
OK
Data type
LREAL
LREAL
Registers
Con-
stants
*DM
DR
IR
*EM
OK
---
---
---
Operation
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
SFC action or
transition programs
OK
OK
Size
4
4
Flags
Pulse
TR
bits
bits
Indirect
TK
CF
using IR
OK
---
---
---
---

Advertisement

Table of Contents
loading

Table of Contents