Panasonic FP Series Programming Manual page 817

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Data transfer within the PLC
F7_MV2
The two 16-bit data or two 16-bit equivalent constants specified by s1 and s2 are copied to the
Description
32-bit area specified by d when the trigger turns ON.
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 F7_MV2 (see page 1326)
PLC types
To transfer three 16-bit data types, use either the F190_MV3 (see page 853) or
P190_MV3 instruction.
Data types
Variable
Data type
ANY16
s1, s2
ANY32
d
Operands
For
WX
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.
LD
816
Two 16-bit data move
Function
source 16-bit area
destination 32-bit area
Relay
T/C
WY
WR
WL
SV
DWY
DWR
DWL
DSV
Register
Constant
EV
DT
LD
FL
dec. or hex.
DEV
DDT
DLD
DFL
-

Advertisement

Table of Contents
loading

Table of Contents