Flt/Fltl - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

3. Instructions

FLT/FLTL

Instruction
16-BIT TO FLOATING
32-BIT TO FLOATING
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
S
First source word
R
First result word
Operand Specifications
Word addresses
Area
CIO
WR
HR
S
OK
OK
OK
R
Flags
Name
Error Flag
Equals Flag
Negative Flag
472
Mnemonic
Variations
FLT
@FLT
FLTL
@FLTL
FLT
FLT(452)
S: Source word
S
R: First result word
R
Block program areas
Step program areas
OK
OK
Description
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Label
ER
OFF
=
• ON if both the exponent and mantissa of the result are 0.
• OFF in all other cases.
N
• ON if the result is negative.
• OFF in all other cases.
Function
code
Converts a 16-bit signed binary value to 32-bit
452
floating-point data and places the result in the
specified result words.
Converts a 32-bit signed binary value to 32-bit
453
floating-point data and places the result in the
specified result words.
Subroutines
OK
Data type
FLT
INT
REAL
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
OK
---
---
Operation
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
FLTL
FLTL(453)
S: First source word
S
R: First result word
R
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
FLTL
FLT
DINT
1
REAL
2
Registers
Pulse
TK
CF
bits
Indirect
IR
using IR
---
OK
---
---
FLTL
2
2
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents