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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ASCII Conversion <strong>Instructions</strong> (STOD, STOR, DTOS, RTOS, UPPER, LOWER) 631Upper Case (UPPER)The UPPER instruction converts the alphabetical characters in a stringto upper case characters.Operands:Relay LadderOperand Type Format DescriptionSource string tag tag that contains the characters that youwant to convert to upper caseDestination string tag tag to store the characters in upper caseUPPER(Source,Dest);Structured TextThe operands are the same as those for the relay ladderUPPER instruction.Description:The UPPER instruction converts to upper 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!