12.10 Fnc 49 - Flt / Conversion To Floating Point - Mitsubishi Electric FX3G SERIES Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
12.10 FNC 49 – FLT / Conversion to Floating Point
Outline
This instruction converts a binary integer into a binary floating point (real number).
1. Instruction format
FNC 49
D
FLT
2. Set data
Operand type
S
S
1
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
S
S
1
D
: This function is supported only in FX
Explanation of function and operation
1. 16-bit operation (FLT and FLTP)
The binary integer data of
Command
input
2. 32-bit operation (DFLT and DFLTP)
The binary integer data of [
D
D
D
D
[
+1,
1
1
Command
input
Related instruction
Instruction
INT(FNC129)
Caution
1. It is not necessary to convert a constant (K or H) into a floating point value.
The value of a K or H specified in each instruction for binary floating point (real number) operation is automatically
converted into binary floating point (real number). It is not necessary to convert such a constant with the FLT
instruction.
(K and H cannot be specified in RAD, DEG, EXP and LOGE instructions.)
336
Mnemonic
16-bit Instruction
P
5 steps FLT
FLTP
Data register number storing binary integer
Data register number storing binary floating point (real number)
Digit Specification
3U
D
S
is converted into binary floating point (real number), and stored to [
1
FNC 49
S
FLT
D
S
D
S
+1,
1
1
].
FNC 49
S
DFLT
Inverse of the FLT instruction, converts binary floating point into binary integer.
12.10 FNC 49 – FLT / Conversion to Floating Point
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
/FX
PLCs.
3UC
S
→ (
D
D
Binary
Binary floating point
integer
(real number)
] is converted into binary floating point (real number), and stored to
S
S
(
+ 1,
D
Binary integer
Description
12 Data Operation – FNC 40 to FNC 49
Mnemonic
32-bit Instruction
DFLT
9 steps
DFLTP
Real number (binary)
Con-
Real
Index
stant
Number
V
Z Modify K H
E
D
+ 1,
)
) → (
D
D
+1,
)
Binary floating point
(real number)
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
Data type
16- or 32-bit binary
Others
Charac-
Pointer
ter String
" "
P
D
D
+1,
D
D
].
1
1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents