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 String <strong>Instructions</strong> (CONCAT, DELETE, FIND, INSERT, MID) 615Arithmetic Status Flags:not affectedFault Conditions:Type Code Cause Recovery Method4 51 The LEN value of the string tag isgreater than the DATA size of thestring tag.Execution:1. Check that no instruction is writing to the LEN member of the string tag.2. In the LEN value, enter the number of characters that the stringcontains.4 56 The Start value is invalid. Check that the Start value is between 1 and the DATA size of the Source.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.The instruction executes.instruction execution The instruction inserts the specified characters.postscan The rung-condition-out is set to false. No action taken.Example:When temp_high is set, the INSERT instruction adds the characters instring_2 to position 2 within string_1 and places the result in string_3:Relay Laddertemp_highINSERTInsert StringSource A string_1'AD'Source B string_2'BC'Start 2Deststring_3'ABCD'Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!