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) 285Move (MOV)The MOV instruction copies the Source to the Destination. The Sourceremains unchanged.Operands:Relay LadderOperand: Type: Format Description:Source SINT immediate value to move (copy)INTtagDINTDestinationREALA SINT or INT tag converts to a DINT value by sign-extension.SINT tag tag to store the resultINTDINTREALStructured Textdest := source;Use an assignment “:=” with an expression. This assignment movesthe value in source to dest.See Structured Text Programming for information on the syntax ofexpressions and assignments within structured text.Description:Arithmetic Status Flags:Fault Conditions:The MOV instruction copies the Source to the Destination. The Sourceremains unchanged.Arithmetic status flags are affected.nonePublication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!