Chapter 7 Second Development Platform VP3000
334
API Instruction code Operand Function
49 D FLT P S, D
BIN integer → binary floating-point
number
Type
Operand
Bit devices Word devices
16-bit instruction
-
-
-
-
32-bit instruction (9 steps)
DFLT
Continuous
execution
type
DFLTP
Pulse
execution
type
Associated flag: none
X Y M K H KnX KnY KnM T C D
S
D
Caution for using operand
Operand D occupies 2 consecutive devices.
See the specification of each model for the scope of device’s usage.
Description
S: source device for conversion
D: device for storing the conversion result
Convert BIN integer to binary floating-point number.
Example
When X11 = ON, convert the BIN integers corresponding to D0 and D1 to floating-point numbers
and put into D20 and D21.