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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Double-precision Floating-point Instructions
Operand Specifications
Description
Flags
Precautions
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
Indirect DM addresses
in binary
Indirect DM addresses
in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
DBLL(844) converts the 32-bit signed binary value in S+1 and S to double-
precision (64-bit) floating-point data (IEEE754-format) and places the result in
words D to D+3. A single 0 is added after the decimal point in the floating-
point result.
S+1
S
D+3
D+2
D+1
Signed binary data within the range of –2,147,483,648 to 2,147,483,647 can
be specified for S+1 and S. The floating point value has 24 significant binary
digits (bits). The result will not be exact if a number greater than 16,777,215
(the maximum value that can be expressed in 24-bits) is converted by
DBLL(844).
Example Conversions:
A signed binary value of 16,777,215 is converted to 16,777,215.0.
A signed binary value of –16,777,215 is converted to –15,777,215.0.
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
The result will not be exact if a number with an absolute value greater than
16,777,215 (the maximum value that can be expressed in 24-bits) is con-
verted.
S
CIO 0 to CIO 6142
W0 to W510
H0 to H510
A0 to A958
T0000 to T4094
C0000 to C4094
D0 to D32766
@ D0 to @ D32767
*D0 to *D32767
#00000000 to #FFFFFFFF
(binary)
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Signed binary data (32 bits)
D
Floating-point data (64 bits)
Operation
OFF
ON if both the exponent and mantissa of the result are 0.
OFF in all other cases.
ON if the result is negative.
OFF in all other cases.
Section 3-15
D
CIO 0 to CIO 6140
W0 to W508
H0 to H508
A448 to A956
T0000 to T4092
C0000 to C4092
D0 to D32764
---
535

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents