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) 217Function BlockOperand Type Format DescriptionGEQ tag FBD_COMPARE structure GEQ 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 ladderGEQ instruction.Description:The GEQ instruction tests whether Source A is greater than or equal toSource B.When you compare strings:• The hexadecimal values of the characters determine if one stringis less than or greater than another string. For the hex code of acharacter, see the back cover of this manual.• When the two strings are sorted as in a telephone directory, theorder of the strings determines which one is greater.ASCII CharactersHex Codes1ab $31$61$62lessergreater1b $31$62A $41AB $41$42B $42a $61AB < Ba > Bab $61$62Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!