Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 640

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Floating-point Math Instructions
Description
Flags
Precautions
Area
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
FLTL(453) converts the 32-bit signed binary value in S+1 and S to 32-bit float-
ing-point data (IEEE754-format) and places the result in R+1 and R. A single
0 is added after the decimal point in the floating-point result.
S+1
R+1
Signed binary data within the range of –2,147,483,648 to 2,147,483,647 can
be specified for S+1 and S. The floating point value has 24 significant binary
digits (bits). The result will not be exact if a number greater than 16,777,215
(the maximum value that can be expressed in 24-bits) is converted by
FLTL(453).
Example Conversions:
A signed binary value of 16,777,215 is converted to 16,777,215.0.
A signed binary value of –16,777,215 is converted to –15,777,215.0.
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
The result will not be exact if a number with an absolute value greater than
16,777,215 (the maximum value that can be expressed in 24-bits) is con-
verted.
S
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
#00000000 to #FFFFFFFF
(binary)
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Signed binary data (32 bits)
S
R
Floating-point data (32 bits)
Operation
OFF
ON if both the exponent and mantissa of the result are 0.
OFF in all other cases.
ON if the result is negative.
OFF in all other cases.
Section 3-15
R
---
601

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents