EasyManuals Logo
Home>Allen-Bradley>Controller>Logix5000

Allen-Bradley Logix5000 Reference Manual

Allen-Bradley Logix5000
708 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
Page #300 background imageLoading...
Page #300 background image
300 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 7 Move/Logical Instructions (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT)
Masked Move with Target
(MVMT)
The MVMT instruction first copies the Target to the Destination. Then the instruction
compares the masked Source to the Destination and makes any required changes to the
Destination. The Target and the Source remain unchanged.
This instruction is available in relay ladder as MVM, see page 297
.
Operands:
Structured Text
Function Block
FBD_MASKED_MOVE Structure
Variable Type Format Description:
MVMT tag FBD_MASKED_MOVE Structure MVMT structure
Operand Type Format Description
MVMT tag FBD_MASKED_MOVE Structure MVMT structure
MVMT(MVMT_tag);
Input Parameter Data Type Description
EnableIn BOOL Function Block
If cleared, the instruction does not execute and outputs are not updated.
If set, the instruction executes.
Default is set.
Structured Text
No effect. The instruction executes.
Source DINT Input value to move to Destination based on value of Mask.
Valid = any integer
Mask DINT Mask of bits to move from Source to Dest. All bits set to one cause the corresponding bits to move from
Source to Dest. All bits that are set to zero cause the corresponding bits not to move from Source to
Dest.
Valid = any integer
Target DINT Input value to move to Dest prior to moving Source bits through the Mask.
Valid = any integer
Output Parameter Data Type Description
EnableOut BOOL The instruction produced a valid result.
Dest DINT Result of masked move instruction. Arithmetic status flags are set for this output.

Table of Contents

Other manuals for Allen-Bradley Logix5000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Logix5000 and is the answer not in the manual?

Allen-Bradley Logix5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelLogix5000
CategoryController
LanguageEnglish

Related product manuals