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) 299Clear (CLR)The CLR instruction clears all the bits of the Destination.Operands:Relay LadderOperand Type Format DescriptionDestination SINTINTDINTREALtag tag to cleardest := 0;Structured TextStructured text does not have a CLR instruction. Instead, assign 0 tothe tag you want to clear. This assignment statement clears dest.See Structured Text Programming for information on the syntax ofexpressions and assignment statements within structured text.Description:Arithmetic Status Flags:Fault Conditions:The CLR instruction clears all the bits of the Destination.Arithmetic status flags are affected.noneExecution:Conditionprescanrung-condition-in is falserung-condition-in is truepostscanRelay Ladder ActionThe rung-condition-out is set to false.The rung-condition-out is set to false.The instruction clears the Destination.The rung-condition-out is set to true.The rung-condition-out is set to false.Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!