235
FLT, FLTP, DFLT, DFLTP
1
2
3
4
6
7
8
6.3
D
ata conversio
n instru
ctions
6.3.3
F
LT
, FLT
P
, DFLT
, DF
LTP
:
Integer data to be converted to 32-bit floating decimal point data or head number of the devices where the integer data is stored (BIN 16/32 bits)
:
Head number of the devices where the converted 32-bit floating decimal point data will be stored (real number)
*1:
Available only in multiple Universal model QCPU and LCPU
Function
FLT
(1) Converts 16-bit BIN data designated by to 32-bit floating decimal point type real number, and stores at device number
designated by .
(2) BIN values between -32768 to 32767 can be designated by .
DFLT
(1) Converts 32-bit BIN data designated by to 32-bit floating decimal point type real number, and stores at device number
designated by .
(2) BIN values between -2147483648 to 2147483647 can be designated by +1 and .
FLT, FLTP
Conversion from BIN 16-bit data to floating-point data
(Single precision)
DFLT, DFLTP
Conversion from BIN 32-bit data to floating-point data
(Single precision)
6.3.3
FLT, FLTP, DFLT, DFLTP
• Basic model QCPU: The serial number (first five digits) is
"04122" or later.
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
––
––
––
*1
––
––
Basic
Process
High
performance
Redundant Universal
LCPU
Ver.
P
Command
Command
S
D
S
D
FLT, DFLT
FLTP, DFLTP
indicates an instruction s
y
mbol of
FLT/DFLT.
S
D
S
D
S
D
32
-
b
i
t
f
l
oat
i
ng
-
po
i
nt
rea
l
number
+
1
B
IN
16
b
i
ts
S
D
D
S
S
D
B
IN
32
b
i
ts
U
pper
16
b
i
ts
L
ower
16
b
i
ts
32
-
b
i
t
f
l
oat
i
ng
-
po
i
nt
rea
l
number
+
1
+
1
D
S
S
D
S
S