Double-Precision Floating-Point Instructions - Omron CJ - PROGRAMMING MANUAL 08-2008 Programming Manual

Programmable controllers
Hide thumbs Also See for CJ - PROGRAMMING MANUAL 08-2008:
Table of Contents

Advertisement

Double-precision Floating-point Instructions

3-14 Double-precision Floating-point Instructions

Instruction
Symbol/Operand
Mnemonic
Code
DOUBLE FLOAT-
ING TO 16-BIT
FIXD(841)
BINARY
FIXD
@FIXD
841
S: 1st source
word
D: Destination
word
DOUBLE FLOAT-
ING TO 32-BIT
FIXLD(842)
BINARY
FIXLD
@FIXLD
842
S: 1st source
word
D: 1st destination
word
16-BIT BINARY
DBL(843)
TO DOUBLE
FLOATING
DBL
@DBL
843
S: Source word
D: 1st destination
word
32-BIT BINARY
DBLL(844)
TO DOUBLE
FLOATING
DBLL
@DBLL
844
S: 1st source
word
D: 1st destination
word
DOUBLE FLOAT-
+D(845)
ING-POINT ADD
+D
@+D
845
Au: 1st augend
word
Ad: 1st addend
word
R: 1st result word
The Double-precision Floating-point Instructions are supported only by the
CS1-H, CJ1-H, CJ1M, or CS1D CPU Units.
Converts the specified double-precision floating-point data (64 bits) to 16-
bit signed binary data and outputs the result to the destination word.
S
D
Converts the specified double-precision floating-point data (64 bits) to 32-
bit signed binary data and outputs the result to the destination words.
S
D
Converts the specified 16-bit signed binary data to double-precision float-
ing-point data (64 bits) and outputs the result to the destination words.
S
D
Converts the specified 32-bit signed binary data to double-precision float-
ing-point data (64 bits) and outputs the result to the destination words.
S
D
Adds the specified double-precision floating-point values (64 bits each)
and outputs the result to the result words.
Au
Ad
R
Function
Section 3-14
Location
Execution
condition
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
119

Advertisement

Table of Contents
loading

Table of Contents