Data transfer within the PLC
858
Part III FP Instructions
F309_FMV
Floating Point Data Move
Positive: 0.0000001 to 9999999.0
Negative: -9999999.0 to -0.000001
This instruction also exists as a P instruction (for FP2/2SH, FP3/5, FP10/10SH PLC types), which
is only executed at the rising edge of the EN trigger. Select [Insert P instruction] from the
"Instructions" pane if you require a P instruction. To facilitate reuse, the instruction then appears
under "Recently used" in the pop-up menu. Press <Ctrl>+<Shift>+<v> within the programming
area to open the list of recently used elements.
Instead of using this FP instruction, we recommend using the related IEC instruction MOVE (see
page 59). Please refer also to Advantages of the IEC instructions in the online help.
PLC types
Availability of F309_FMV (see page 1324)
This instruction cannot be programmed in the interrupt program.
Variable Data type Function
s Floating point
constant
Floating point data, 32 bits (source).
d REAL 32-bit area for result (destination).
For Relay T/C Register Constant
d - DWY DWR DWL DSV DEV DDT DLD DFL -
Description
The floating point data (32 bits) specified by s is copied to the 32-bit area specified by d when the
trigger turns on. The range of real number data which can be set is as follows:
Data types
Operands
Example
In this example, the same POU header is used for all programming languages. For an example
using IL (instruction list), please refer to the online help.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
When the variable Start is set to TRUE, the floating point data entered at s is copied to the 32-bit
address assigned by the compiler for the variable RealNumber. The monitor value icon is
activated.
LD