6 - 61 6 - 61
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
High Performance
QnA Q4AR
Basic
QCPU
PLC CPU
Process CPU
6.3.3 Conversion from BIN 16 and 32-bit data to floating decimal point
(FLT, FLTP, DFLT, DFLTP)
Usable Devices
Internal Devices
(System, User)
MELSECNET/10(H)
Direct J
\
Set
Data
Bit Word
File
Register
Bit Word
Special
Function
Module
U
\G
Index
Register
Zn
Constant
K, H
Other
S
D
[Instruction Symbol] [Execution Condition]
indicates FLT or DFLT
P
Command
Command
S D
FLT, DFLT
FLTP, DFLTP
S D
[Set Data]
Set Data Meaning Data Type
S
Head device number where integer data for the purpose of conversion to
floating decimal point data is being stored
BIN 16/32 bits
D
Head device number that will store converted floating decimal point data Real number
[Functions]
FLT
(1) Converts 16-bit BIN data designated by
S
to floating decimal point type real number, and
stores at device number designated by
D
.
Floating decimal point
t
e real number
+1
BIN 16 bits
S D D
(2) BIN values between -32768 to 32767 can be designated by
S
.
DFLT
(1) Converts 32-bit BIN data designated by
S
to floating decimal point type real number, and
stores at device number designated by
D
.
BIN 32 bits
The lower 16 bitsThe upper 16 bits
Floating decimal point
type real number
+1
D
+1
S S D
(2) BIN values between -2147483648 to 2147483647 can be designated by
S
+1 and
S
.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com