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.

224 Compare <strong>Instructions</strong> (CMP, EQU, GEQ, GRT, LEQ, LES, LIM, MEQ, NEQ)Less Than or Equal to (LEQ)The LEQ instruction tests whether Source A is less than or equal toSource B.Operands:Relay LadderOperand Type Format DescriptionSource ASINTimmediatevalue to test against Source BINTtagDINTREALstringSource BSINTimmediatevalue to test against Source AINTtagDINTREALstring• If you enter a SINT or INT tag, the value converts to a DINTvalue by sign-extension.• String data types are:– default STRING data type– any new string data type that you create• To test the characters of a string, enter a string tag for bothSource A and Source B.Structured TextIF sourceA

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

Saved successfully!

Ooh no, something went wrong!