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.

302 Move/Logical <strong>Instructions</strong> (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT)Description:The SWPB instruction rearranges the order of the bytes of the Source.It places the result in the Destination.When you read or write ASCII characters, you typically do not need toswap characters. The ASCII read and write instructions (ARD, ARL,AWA, AWT) automatically swap characters, as shown below.bar code reader42969B ATag Name Value Style Typebar_code[0] AB ASCII INTA B42968Arithmetic Status Flags:Fault Conditions:not affectednoneExecution:Condition Relay Ladder Action Structured Text Actionprescan The rung-condition-out is set to false. No action takenrung-condition-in is false The rung-condition-out is set to false. narung-condition-in is true The rung-condition-out is set to true. naEnableIn is set na EnableIn is always set.The instruction executes.instruction execution The instruction rearranges the specified bytes. The instruction rearranges the specified bytes.postscan The rung-condition-out is set to false. 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!