Panasonic FP Series Programming Manual page 811

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Data transfer within the PLC
F2_MVN
The 16-bit data or 16-bit equivalent constant specified by s is inverted and transferred to the 16-bit
Description
area specified by d if the trigger EN is in the ON-state.
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 F2_MVN (see page 1322)
PLC types
Data types
Variable
Data type
s
ANY16
d
The variables s and d have to be of the same data type.
Operands
For
WX
s
-
d
Explanation with example value 16#5555
source
15
bit
0
dest.
15
bit
1
Each bit is inverted, target value in this example: 16#AAAA
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.
Body
When the variable start is set to TRUE, the function is carried out.
810
16-bit data inversion and move
Function
source 16-bit area to be inverted
destination 16-bit area
Relay
T/C
WY
WR
WL
SV
WY
WR
WL
SV
.
.
12
11
.
.
8
1
0
1
0
1
0
1
0
.
.
12
11
.
.
8
0
1
0
1
0
1
0
Register
EV
DT
LD
FL
EV
DT
LD
FL
7
.
.
4
3
.
.
0
1
0
1
0
1
0
1
7
.
.
4
3
.
.
0
1
0
1
0 1
0
1
0
Constant
dec. or hex.
-

Advertisement

Table of Contents
loading

Table of Contents