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.

ASCII Conversion <strong>Instructions</strong> (STOD, STOR, DTOS, RTOS, UPPER, LOWER) 633Lower Case (LOWER)The LOWER instruction converts the alphabetical characters in a stringto lower case characters.Operands:Relay LadderOperand Type Format DescriptionSource string tag tag that contains the characters that youwant to convert to lower caseDestination string tag tag to store the characters in lower caseLOWER(Source,Dest);Structured TextThe operands are the same as those for the relay ladderLOWER instruction.Description:The LOWER instruction converts to lower case all the letters in theSource and places the result in the Destination.• ASCII characters are case sensitive. Upper case “A” ($41) is notequal to lower case “a” ($61).• If operators directly enter ASCII characters, convert thecharacters to all upper case or all lower case before youcompare them.Any characters in the Source string that are not letters remainunchanged.Arithmetic Status Flags:Fault Conditions:not affectednoneExecution:Condition Relay Ladder Action Structured Text Actionprescan The rung-condition-out is set to false. No action taken.rung-condition-in is false The rung-condition-out is set to false. narung-condition-in is trueThe instruction executes.The rung-condition-out is set to true.naPublication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!