Panasonic FP Series Programming Manual page 813

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Data transfer within the PLC
F3_DMVN
The 32-bit data or 32-bit equivalent constant specified by s is inverted and transferred to the 32-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.
PLC types
Availability of F3_DMVN (see page 1323)
Data types
Variable
Data type
s
ANY32
d
The variables s and d have to be of the same data type.
Operands
For
DWX DWY
s
-
d
Explanation with example value 16#75BCD15
source
bit
31 . . 28 27 . . 24 23 . . 20 19 . .16
s
bit
destination
bit
31 . . 28 27 . . 24 23 . . 20 19 . .16
d
Each bit is inverted, destination value in this example: 16#F8A432EA
In this example the function has been programmed in ladder diagram (LD) and structured text
Example
(ST).The same POU header is used for all programming languages.
812
32-bit data inversion and move
Function
source 32-bit area to be inverted
destination 32-bit area
Relay
T/C
DWR
DWL
DSV
DWY
DWR
DWL
DSV
0 0 0 0
0 1 1 1
0 1 0 1
1 0 1 1
1 1 1 1
1 0 0 0
1 0 1 0
0 1 0 0
Register
DEV
DDT
DLD
DFL
DEV
DDT
DLD
DFL
15 . . 12 10 . . 8 7 . . 4 3 . . 0
1 1 0 0
1 1 0 1
0 0 0 1
32-bit area
15 . . 12 10 . . 8 7 . . 4 3 . . 0
0 0 1 1
0 0 1 0
1 1 1 0
Constant
dec. or hex.
-
0 1 0 1
1 0 1 0

Advertisement

Table of Contents
loading

Table of Contents