EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
+
AuAu+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.

Table of Contents

Related product manuals