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.

244 Compare <strong>Instructions</strong> (CMP, EQU, GEQ, GRT, LEQ, LES, LIM, MEQ, NEQ)Function BlockOperand Type Format DescriptionNEQ tag FBD_COMPARE structure NEQ structureFBD_COMPARE StructureInput Parameter Data Type DescriptionEnableIn BOOL Enable input. If cleared, the instruction does not execute and outputs are not updated.Default is set.SourceA REAL Value to test against SourceB.Valid = any floatSourceB REAL Value to test against SourceA.Valid = any floatOutput Parameter Data Type DescriptionEnableOut BOOL The instruction produced a valid result.Dest BOOL Result of the instruction. This is equivalent to rung-condition-out for the relay ladderNEQ instruction.Description: The NEQ instruction tests whether Source A is not equal to Source B.When you compare strings:• Strings are not equal if any of their characters do not match.• ASCII characters are case sensitive. Upper case “A” ($41) is notequal to lower case “a” ($61).ASCII CharactersHex Codes1ab $31$61$62lessergreater1b $31$62A $41AB $41$42B $42a $61AB < Ba > Bab $61$62Arithmetic Status Flags:Fault Conditions:not affectednonePublication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!