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...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Move/Logical <strong>Instructions</strong> (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT) 297Input Parameter Data Type Description:DestBit DINT The bit position in Dest (lowest bit number to start copying bits into).Valid = 0-31Target DINT Input value to move to Dest prior to moving bits from the Source.Valid = any integerOutput Parameter: Data Type: Description:EnableOut BOOL The instruction produced a valid result.Dest DINT Result of the bit move operation. Arithmetic status flags are set for this output.Description:When enabled, the BTD instruction copies a group of bits from theSource to the Destination. The group of bits is identified by the Sourcebit (lowest bit number of the group) and the Length (number of bits tocopy). The Destination bit identifies the lowest bit number bit to startwith in the Destination. The Source remains unchanged.If the length of the bit field extends beyond the Destination, theinstruction does not save the extra bits. Any extra bits do not wrap tothe next word.Arithmetic Status Flags:Fault Conditions:Arithmetic status flags are affectednoneExecution:Condition Function Block Action Structured Text Actionprescan No action taken. No action taken.instruction first scan No action taken. No action taken.instruction first run No action taken. No action taken.EnableIn is cleared EnableOut is cleared, the instruction does nothing, naand the outputs are not updated.EnableIn is setThe instruction executes.EnableIn is always set.EnableOut is set.The instruction executes.postscan No action taken. No action taken.Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!