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.

632 ASCII Conversion <strong>Instructions</strong> (STOD, STOR, DTOS, RTOS, UPPER, LOWER)Condition Relay Ladder Action Structured Text ActionEnableIn is set na EnableIn is always set.The instruction executes.instruction execution The instruction converts the Source to upper case.postscan The rung-condition-out is set to false. No action taken.Example:To find information about a specific item, an operator enters thecatalog number of the item into an ASCII terminal. After the controllerreads the input from a terminal (terminal_read.EM is set), the UPPERinstruction converts the characters in catalog_number to all uppercase characters and stores the result in catalog_number_upper_case. Asubsequent rung then searches an array for characters that matchthose in catalog_number_upper_case.Relay LadderStructured TextIF terminal_read.EM THENUPPER(catalog_number,catalog_number_upper_case);terminal_read.EM := 0;END_IF;Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!