Справочник Пользователя для Mitsubishi Electronics MELSEC -Q/L

Скачать
Страница из 1086
6  BASIC INSTRUCTIONS
6.3  Data Conversion Instructions
273
6
Conversion from BIN 16-bit data to floating-point data (single 
precision), conversion from BIN 32-bit data to floating-point data 
(single precision)
FLT(P), DFLT(P)
*1 Applicable for the Universal model QCPU, LCPU.
Processing details
FLT
 • Converts 16-bit BIN data designated by (S) to 32-bit floating decimal point type real number, and stores at device number 
designated by (D).
 • BIN values between -32768 to 32767 can be designated by (S).
DFLT
 • Converts 32-bit BIN data designated by (S) to 32-bit floating decimal point type real number, and stores at device number 
designated by (D).
 • BIN values between -2147483648 to 2147483647 can be designated by (S)+1 and (S).
• Basic model QCPU: The serial number (first five digits) is "04122" or later.
(S):   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)
(D):   Head number of the devices where the converted 32-bit floating decimal point data will be stored (real number)
Setting 
data
Internal device
R, ZR
J\
U\G
Zn
Constant
K, H
Others
Bit
Word
Bit
Word
(S)
(D)
Basic
Process
High
performance
Redundant Universal
LCPU
Ver.
P
Command
Command
S
D
S
D
FLT, DFLT
FLTP, DFLTP
indicates an instruction symbol of 
FLT/DFLT.
32-bit floating-point  
real number
+
1
BIN 16 bits
S
D
D
BIN 32 bits
Upper 16 bits Lower 16 bits
32-bit floating-point 
real number
+
1
+
1
D
S
S
D