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) 623Fault ConditionsType Code Cause Recovery Method4 51 The LEN value of the string tag is greater than the DATAsize of the string tag.1. Check that no instruction is writing to the LENmember of the string tag.4 53 The output number is beyond the limits of thedestination data type.2. In the LEN value, enter the number of charactersthat the string contains.Either:• Reduce the size of the ASCII value.• Use a larger data type for the destination.Execution: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 true The instruction executes.naThe rung-condition-out is set to true.EnableIn is set na EnableIn is always set.instruction executionSC is set.Destination is cleared.The instruction converts the Source.The instruction executes.If the result is zero, then S:Z is setpostscan The rung-condition-out is set to false. No action taken.Example:When MV_read.EM is set, the STOD instruction converts the first setof numeric characters in MV_msg to an integer value. The instructionskips the initial control character ($06) and stops at the delimiter ( \ ).Relay LadderMV_read.EMSTODString To DINTSource MV_msg'$06324\12\1\$r'Dest MV_msg_nmbr324Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!