12.07.2015 Views

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

290 Move/Logical <strong>Instructions</strong> (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. Thenthe instruction compares the masked Source to the Destination andmakes any required changes to the Destination. The Target and theSource remain unchanged.This instruction is available in relay ladder as MVM, see page 13-287.Operands:MVMT(MVMT_tag);Structured TextVariable Type Format Description:MVMT tag FBD_MASKED_MOVE structure MVMT structureFunction BlockOperand Type Format DescriptionMVMT tag FBD_MASKED_MOVE structure MVMT structureFBD_MASKED_MOVE StructureInput Parameter Data Type DescriptionEnableIn BOOL Function BlockIf cleared, the instruction does not execute and outputs are not updated.If set, the instruction executes.Default is set.Structured TextNo effect. The instruction executes.Source DINT Input value to move to Destination based on value of Mask.Valid = any integerMask DINT Mask of bits to move from Source to Dest. All bits set to one cause the corresponding bits tomove from Source to Dest. All bits that are set to zero cause the corresponding bits not tomove from Source to Dest.Valid = any integerTarget DINT Input value to move to Dest prior to moving Source bits through the Mask.Valid = any integerPublication 1756-RM003I-EN-P - January 2007

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!