Panasonic FP Series Programming Manual page 819

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Data transfer within the PLC
F8_DMV2
The function copies two 32-bit data areas specified at inputs s1 and s2 to a 32-bit ARRAY with two
Description
elements at output d.
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.
Availability of F8_DMV2 (see page 1326)
PLC types
To copy three 32-bit data, use either the F191_DMV3 (see page 855) or
P191_DMV3 instruction.
Data types
Variable
Data type
ANY32
s1, s2
ARRAY [0..1] of
d
ANY32
The variables s1, s2 and d have to be of the same data type.
Operands
For
DWX DWY DWR
s1, s2
d
In this example, the same POU header is used for all programming languages. For an example
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.
In this example the input variables input_value_1 and input_value_2 are declared. However, you
can write constants directly at the input contact of the function instead.
Body
When the variable start is set to TRUE, the function is carried out.
818
Two 32-bit data move
Function
source 32-bit area
destination, lower 32-bit area of 64-bit area
Relay
DWL
DSV
-
DWY DWR
DWL
DSV
T/C
Register
DEV
DDT
DLD
DFL
DEV
DDT
DLD
DFL
Constant
dec. or hex.
-

Advertisement

Table of Contents
loading

Table of Contents