![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030106.webp)
66
Instruction Functions
Section 2-2
2-2-13 Floating-point Math Instructions
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
FLOATING TO
16-BIT
FIX
@FIX
450
Output
Required
594
FLOATING TO
32-BIT
FIXL
@FIXL
451
Output
Required
596
16-BIT TO
FLOATING
FLT
@FLT
452
Output
Required
597
32-BIT TO
FLOATING
FLTL
@FLTL
453
Output
Required
599
FLOATING-
POINT ADD
+F
@+F
454
Output
Required
601
FLOATING-
POINT SUB-
TRACT
–F
@–F
455
Output
Required
603
FIX(450)
S
R
S
: 1st source
word
R
: Result word
S+1
S
R
Signed binary data
(16 bits)
Floating-point data
(32 bits)
Converts a 32-bit floating-point value to 16-bit signed binary data and
places the result in the specified result word.
FIXL(451)
S
R
S
: 1st source
word
R
: 1st result word
S+1
S
R+1
R
Signed binary data
(32 bits)
Floating-point data
(32 bits)
Converts a 32-bit floating-point value to 32-bit signed binary data and
places the result in the specified result words.
FLT(452)
S
R
S
: Source word
R
: 1st result word
R+1
R
S
Converts a 16-bit signed binary value to 32-bit floating-point data and
places the result in the specified result words.
Signed binary data
(16 bits)
Floating-point data
(32 bits)
S
R
FLTL(453)
S
: 1st source
word
R
: 1st result word
R+1
R
S
S+1
Floating-point data
(32 bits)
Signed binary data
(32 bits)
Converts a 32-bit signed binary value to 32-bit floating-point data and
places the result in the specified result words.
+F(454)
R
Au
Ad
Au
: 1st augend
word
AD
: 1st addend
word
R
: 1st result word
R+1
R
+
Au
Au+1
Ad
Ad+1
Adds two 32-bit floating-point numbers and places the result in the
specified result words.
Augend (floating-
point data, 32 bits)
Addend (floating-
point data, 32 bits)
Result (floating-
point data, 32 bits)
F(455)
R
Mi
Su
Mi
: 1st Minuend
word
Su
: 1st
Subtrahend word
R
: 1st result word
R+1
R
−
Mi
Mi+1
Su
Su+1
Minuend (floating-
point data, 32 bits)
Subtrahend (floating-
point data, 32 bits)
Result (floating-point
data, 32 bits)
Subtracts one 32-bit floating-point number from another and places
the result in the specified result words.
Содержание 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 ...