EasyManua.ls Logo

Allen-Bradley MicroLogix 1100

Allen-Bradley MicroLogix 1100
616 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Publication 1763-RM001C-EN-P - October 2009
Move Instructions 219
MVM - Masked Move
Instruction Type: output
The MVM instruction is used to move data from the source to the
destination, allowing portions of the destination to be masked. The mask
bit functions as follows:
Mask data by setting bits in the mask to zero; pass data by setting bits in
the mask to one. The mask can be a constant, or you can vary the mask
by assigning a direct address. Bits in the Destination that correspond to
zeros in the Mask are not altered.
Using the MVM Instruction
When using the MVM instruction, observe the following:
• Source, Mask, and Destination must be of the same data size (i.e. all
words or all long words).
To mask data, set the mask bit to zero; to pass data, set the mask bit
to one. The mask can be a constant value, or you can vary the mask
by assigning a direct address.
MVM
Masked Move
Source N7:0
0<
Mask N7:1
0000h<
Dest N7:2
0<
MVM
Execution Time for the MVM Instruction
Controller Data Size When Rung Is:
True False
MicroLogix 1100 word 12.9 ÎĽs 0.87 ÎĽs
long word 13.18 ÎĽs 0.87 ÎĽs
Mask Function for MVM Instruction
Source Bit Mask Bit Destination Bit
1 0 last state
0 0 last state
111
010
TIP
Bits in the destination that correspond to zeros in the
mask are not altered as shown in the shaded areas in
the following table.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive

Table of Contents

Other manuals for Allen-Bradley MicroLogix 1100

Related product manuals