![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030691.webp)
651
Double-precision Floating-point Instructions (CS1-H, CJ1-H, CJ1M, or CS1D Only)
Section 3-16
3-16 Double-precision Floating-point Instructions (CS1-H, CJ1-
H, CJ1M, or CS1D Only)
The Double-precision Floating-point Instructions convert data and perform
floating-point arithmetic operations on double-precision floating-point data.
The CS1-H/CJ1-H CPU Units support the following 20 instructions.
Data Format
Floating-point data expresses real numbers using a sign, exponent, and man-
tissa. When data is expressed in floating-point format, the following formula
applies.
Real number = (–1)
s
2
e–1,023
(1.f)
s: Sign
e: Exponent
f: Mantissa
The floating-point data format conforms to the IEEE754 standards. Data is
expressed in 32 bits, as follows:
Instruction
Mnemonic
Function code
Page
DOUBLE FLOATING TO 16-BIT
FIXD
841
657
DOUBLE FLOATING TO 32-BIT
FIXLD
842
658
16-BIT TO DOUBLE FLOATING
DBL
843
660
32-BIT TO DOUBLE FLOATING
DBLL
844
661
DOUBLE FLOATING-POINT ADD
+D
845
663
DOUBLE FLOATING-POINT SUBTRACT
–D
846
665
DOUBLE FLOATING-POINT MULTIPLY
*
D
847
667
DOUBLE FLOATING-POINT DIVIDE
/D
848
669
DOUBLE DEGREES TO RADIANS
RADD
849
671
DOUBLE RADIANS TO DEGREES
DEGD
850
673
DOUBLE SINE
SIND
851
674
DOUBLE COSINE
COSD
852
676
DOUBLE TANGENT
TAND
853
678
DOUBLE ARC SINE
ASIND
854
680
DOUBLE ARC COSINE
ACOSD
855
682
DOUBLE ARC TANGENT
ATAND
856
684
DOUBLE SQUARE ROOT
SQRTD
857
686
DOUBLE EXPONENT
EXPD
858
688
DOUBLE LOGARITHM
LOGD
859
690
DOUBLE EXPONENTIAL POWER
PWRD
860
692
Double-precision Floating-point Symbol
Comparison Instructions
LD, AND,
OR
+
=D, <>D,
<D, <=D,
>D, or >=D
335 to 340
694
63
62
52 51
0
Sign
s
e
f
Exponent
Mantissa
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...