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.

626 ASCII Conversion <strong>Instructions</strong> (STOD, STOR, DTOS, RTOS, UPPER, LOWER)Relay Ladderweight_read.EMSTORString to RealSource weight_ascii'428.259'Dest weight428.259Structured TextIF weight_read.EM THENSTOR(weight_ascii,weight);weight_read.EM := 0;END_IF;DINT to String (DTOS)The DTOS instruction produces the ASCII representation of a value.Operands:DTOSDINT to StringSource ???Dest ???Relay LadderOperand Type Format Enter NotesSourceSINTtag tag that contains the value If the Source is a REAL, the instruction convertsit to a DINT value. Refer to REAL to an integerINTon page 640.DINTREALDestination string tag tag to store the ASCII value String data types are:• default STRING data type• any new string data type that you createPublication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!