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.

Move/Logical <strong>Instructions</strong> (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT) 291Output Parameter Data Type DescriptionEnableOut BOOL The instruction produced a valid result.Dest DINT Result of masked move instruction. Arithmetic status flags are set for this output.Description:When enabled, the MVMT instruction uses a Mask to either pass orblock Source data bits. A “1” in the mask means the data bit is passed.A “0” in the mask means the data bit is blocked.If you mix integer data types, the instruction fills the upper bits of thesmaller integer data types with 0s so that they are the same size as thelargest data type.Enter an Immediate Mask Value Using an Input ReferenceWhen you enter a mask, the programming software defaults todecimal values. If you want to enter a mask using another format,precede the value with the correct prefix.PrefixDescription16# hexadecimalfor example; 16#0F0F8# octalfor example; 8#162# binaryfor example; 2#00110011Arithmetic Status Flags:Fault Conditions:Arithmetic status flags are affected.noneExecution: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!