32-Bit To Double Floating: Dbll(844) - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Double-precision Floating-point Instructions (CS1-H, CJ1-H, CJ1M, or CS1D Only)
Description
Flags
Precautions

3-16-4 32-BIT TO DOUBLE FLOATING: DBLL(844)

Purpose
Ladder Symbol
Variations
662
Area
Index Registers
Indirect addressing
using Index Registers
DBL(843) converts the 16-bit signed binary value in 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.
D+3CH
D+2CH
Only values within the range of –32,768 to 32,767 can be specified for S. To
convert signed binary data outside of that range, use DBLL(844).
Example conversions:
A signed binary value of 3 is converted to 3.0.
A signed binary value of –3 is converted to –3.0.
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
The content of S must contain signed binary data with a (decimal) value in the
range of –32,768 to 32,767.
Converts a 32-bit signed binary value to double-precision (64-bit) floating-
point data and places the result in the specified destination words.
This instruction is supported by CS1-H, CJ1-H, CJ1M, and CS1D CPU Units
only.
DBLL(844)
S: First source word
S
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
S
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
SCH
Signed binary data (16 bits)
D+1CH
DCH
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-16
D
DBLL(844)
@DBLL(844)
Not supported.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents