Data transfer within the PLC
854
Part III FP Instructions
F190_MV3
Three 16-bit data move
Description
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.
PLC types
Availability of F190_MV3 (see page 1322)
To transfer two 16-bit data types, use either the F7_MV2 (see page 815) or
P7_MV2 instructio
n.
Variable Data type Function
s1, s2, s3 ANY16 source 16-bit area
d ARRAY [0..2] of
ANY16
destination, lower 16-bit area of 48-bit area
The variables s1, s2 and d have to be of the same data type.
For Relay T/C Register Constant
s1,s2,s3 WX WY WR WL SV EV DT LD FL dec. or hex.
d - WY WR WL SV EV DT LD FL dec. or hex.
The function copies three 16-bit data values at inputs s1, s2 and s3 to an ARRAY with three
elements that is returned at output d.
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 function is carried out.