Flt/fltl, Applicable program areas operands, Flags – Omron SYSMAC CP CP1E-N@@D@-@ User Manual
Page 271: 2 instructions, Operand specifications

2-235
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
F
loat
ing
-p
o
int
Math
In
stru
ctio
ns
2
FL
T/F
LT
L
FLT/FLTL
Applicable Program Areas
Operands
Operand Specifications
Flags
Instruction
Mnemonic
Variations
Function
code
Function
16-BIT TO FLOATING
FLT
@FLT
452
Converts a 16-bit signed binary value to 32-bit
floating-point data and places the result in the
specified result words.
32-BIT TO FLOATING
FLTL
@FLTL
453
Converts a 32-bit signed binary value to 32-bit
floating-point data and places the result in the
specified result words.
Symbol
FLT
FLTL
Area
Step program areas
Subroutines
Interrupt tasks
Usage
OK
OK
OK
Operand
Description
Data type
Size
FLT
FLTL
FLT
FLTL
S
First source word
INT
DINT
1
2
R
First result word
REAL
REAL
2
2
Area
Word addresses
Indirect DM addresses
Constants
CF
Pulse bits
TR bits
CIO
WR
HR
AR
T
C
DM
@DM
*DM
S
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
---
---
---
R
---
Name
Label
Operation
Error Flag
P_ER
OFF
Equals Flag
P_EQ
• ON if both the exponent and mantissa of the result are 0.
• OFF in all other cases.
Negative Flag
P_N
• ON if the result is negative.
• OFF in all other cases.
S: Source word
R: First result word
FLT(452)
S
R
S: First source word
R: First result word
FLTL(453)
S
R