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) 213Function BlockOperand Type Format DescriptionEQU tag FBD_COMPARE structure EQU 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 of the relay ladderEQU instruction.Description:Use the EQU instruction to compare two numbers or two strings ofASCII characters. When you compare strings:• Strings are equal if their characters match.• ASCII characters are case sensitive. Upper case “A” ($41) is notequal to lower case “a” ($61).Arithmetic 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!