Data transfer within the PLC
806
Part III FP Instructions
F0_MV
16-bit data move
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 F0_MV (see page 1320)
Variable Data type Function
s source 16-bit area
d
ANY16
destination 16-bit area
The variables s and d have to be of the same data type.
For Relay T/C Register Constant
s WX WY WR WL SV EV DT LD FL dec. or hex.
d - WY WR WL SV EV DT LD FL -
Explanation with example value 16#0089
15 . . 12 11 . . 8 7 . . 4 3 . . 0
s 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1
15 . . 12 11 . . 8 7 . . 4 3 . . 0
d
0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1
source
destination
bit
bit
Destination value in this example: 16#0089
Description
The 16-bit data or 16-bit equivalent constant specified by s is copied to the 16-bit area specified by
d, if the trigger EN is in the ON-state.
Data types
Operands
Example
In this example the function has been programmed in ladder diagram (LD) and structured text
(ST).The same POU header is used for all programming languages.