Conversion From Bin 16 And 32-Bit Data To Floating Decimal Point (Single Precision) (Flt(P),Dflt(P)) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

6.3.3
Conversion from BIN 16 and 32-bit data to floating decimal
point (Single precision) (FLT(P),DFLT(P))
FLT(P),DFLT(P)
FLT, DFLT
FLTP, DFLTP
Setting
Data
S
D
*1:Available only in multiple Universal model QCPU and LCPU
Function
FLT
(1) Converts 16-bit BIN data designated by
and stores at device number designated by
(2) BIN values between
DFLT
(1) Converts 32-bit BIN data designated by
and stores at device number designated by
(2) BIN values between
Basic model QCPU: The upper five digits of the serial No. are "04122" or larger.
Command
Command
: Integer data to be converted to 32-bit floating decimal point data or head number of the devices where the
S
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
D
(real number)
Internal Devices
R, ZR
Bit
Word
––
S
BIN 16 bits
32768 to 32767 can be designated by
S
+1
S
Upper 16 bits
Lower 16 bits
BIN 32 bits
2147483648 to 2147483647 can be designated by
Ver.
High
Basic
performance
indicates an instruction symbol of
J
\
U
\G
Bit
Word
––
to 32-bit floating decimal point type real number,
S
.
D
D
+1
D
32-bit floating-point
real number
S
to 32-bit floating decimal point type real number,
S
.
D
D
+1
32-bit floating-point
real number
FLT(P),DFLT(P)
Process
Redundant Universal
LCPU
FLT/DFLT.
S
D
P
S
D
Constants
Zn
Other
K, H
––
––
––
*1
.
D
+1 and
.
S
S
6-79
1
2
3
4
4
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents