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.

296 Move/Logical <strong>Instructions</strong> (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT)Bit Field Distribute withTarget (BTDT)The BTDT instruction first copies the Target to the Destination. Thenthe instruction copies the specified bits from the Source, shifts the bitsto the appropriate position, and writes the bits into the Destination.The Target and Source remain unchanged.This instruction is available in relay ladder as BTD, see page 13-293.Operands:BTDT(BTDT_tag);Structured TextVariable Type Format DescriptionBTDT tag FBD_BIT_FIELD_DISTRIBUTE structure BTDT structureFunction BlockOperand Type Format DescriptionBTDT tag FBD_BIT_FIELD_DISTRIBUTE structure BTDT structureFBD_BIT_FIELD_DISTRIBUTE StructureInput 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 containing the bits to move to Destination.Valid = any integerSourceBit DINT The bit position in Source (lowest bit number from where to start the move).Valid = 0-31Length DINT Number of bits to moveValid = 1-32Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!