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.

Compare <strong>Instructions</strong> (CMP, EQU, GEQ, GRT, LEQ, LES, LIM, MEQ, NEQ) 243Not Equal to (NEQ) The NEQ instruction tests whether Source A is not equal to Source 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 sourceB THEN;Use the less than and greater than signs ““ together as an operatorwithin an expression. This expression evaluates whether sourceA isnot equal to sourceB.See Appendix for information on the syntax of expressions withinstructured text.Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!