11 Applied Instructions (Data Operation)
11.10 FLT / Conversion to Floating Point
250
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
11.10 FLT / Conversion to Floating Point
Outline
This instruction converts a binary integer into a binary floating point (real number).
1. Format and operation, execution form
2. Set data
3. Applicable devices
S: Refer to "Cautions".
FX3U(C) FX3G(C) FX3S FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(S)
Instruction
name
Operation
Execution
form
Expression in each language
Structured ladder/FBD ST
FLT 16 bits Continuous FLT(EN,s,d);
FLTP 16 bits Pulse FLTP(EN,s,d);
DFLT 32 bits Continuous DFLT(EN,s,d);
DFLTP 32 bits Pulse DFLTP(EN,s,d);
Variable Description
Data type
16-bit
operation
32-bit
operation
Input
variable
EN Execution condition Bit
Data register storing binary integer ANY_SIMPLE
Output
variable
ENO Execution state Bit
Data register storing binary floating point (real number) ANY_SIMPLE
Operand
type
Bit Devices Word Devices Others
System User Digit Specification
System
User
Special
Unit
Index
Cons
tant
Real
Number
Character
String
Pointer
XYMTCS
D.b
KnX KnY KnM KnS T C D R
U\G
V Z Modifier K H E
""
P
z
S1 S2
z
z
S1 S2
z
FLT
EN
s
ENO
d
FLTP
EN
s
ENO
d
DFLT
EN
s
ENO
d
DFLTP
EN
s
ENO
d