![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
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...