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